We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 57b50a8 commit 972bcb2Copy full SHA for 972bcb2
agent/api_server.go
@@ -81,14 +81,14 @@ func startHttpServer() {
81
e.DELETE("/containers/:uuid", deleteContainer)
82
e.GET("/containers/:uuid/status", statusOfContainer)
83
84
+ // Log API
85
+ e.GET("/journald/stream", streamJournalLogs)
86
+
87
ip, _, err := net.ParseCIDR(config.WireguardConfig.Address)
88
if err != nil {
89
log.Fatalf("Failed to parse wireguard address: %v", err)
90
}
91
- // Log API
- e.GET("/journald/stream", streamJournalLogs)
-
92
if err := e.Start(fmt.Sprintf("%s:3332", ip.String())); err != nil && !errors.Is(err, http.ErrServerClosed) {
93
e.Logger.Fatal(err)
94
0 commit comments