diff --git a/docker/kubernetes-tentacle/bootstrapRunner/bootstrapRunner.go b/docker/kubernetes-tentacle/bootstrapRunner/bootstrapRunner.go index 0f7ce1007..f0550e0b3 100644 --- a/docker/kubernetes-tentacle/bootstrapRunner/bootstrapRunner.go +++ b/docker/kubernetes-tentacle/bootstrapRunner/bootstrapRunner.go @@ -6,9 +6,15 @@ import ( "fmt" "os" "os/exec" + "sync" "time" ) +type SafeCounter struct { + Mutex sync.Mutex + Value int +} + // The bootstrapRunner applet is designed to execute a script in a specific folder // and format the script's output from stdout and stderr into the following format: // ||<"stdout" or "stderr">| @@ -18,6 +24,9 @@ import ( // // Note: all arguments given after the