Small changes.

This commit is contained in:
rony5394
2026-03-13 14:00:52 +01:00
parent 064a944655
commit 49f36ff8ba
3 changed files with 4 additions and 3 deletions

View File

@@ -88,6 +88,8 @@ func Run(Config cfg.Config){
}();
fmt.Println("Api started!");
time.Sleep(10*time.Millisecond);
<-ctx.Done();
fmt.Println("Stopping http server.");

View File

@@ -8,7 +8,6 @@ import (
"net/http"
"encoding/base64"
"time"
"os"
"github.com/docker/docker/api/types/mount"
"github.com/docker/docker/api/types/swarm"
@@ -63,7 +62,7 @@ func prepare(w http.ResponseWriter, r *http.Request){
}
defer ipc.Close();
io.Copy(os.Stdout, ipc);
io.Copy(io.Discard, ipc);
labels := inspectResoults.Spec.Labels;