This commit is contained in:
+1
-1
@@ -58,7 +58,7 @@ func main() {
|
|||||||
ctx, cancel := context.WithCancel(context.Background())
|
ctx, cancel := context.WithCancel(context.Background())
|
||||||
defer cancel()
|
defer cancel()
|
||||||
cmdexe := new(commander.CommandExecutor)
|
cmdexe := new(commander.CommandExecutor)
|
||||||
ccli := client.New(cmdexe, cfg.RegistrationToken)
|
ccli := client.New(cmdexe, cfg.RegistrationToken, cfg.Label)
|
||||||
return ccli.HandleCommands(ctx, cfg.BackendURL, creds)
|
return ccli.HandleCommands(ctx, cfg.BackendURL, creds)
|
||||||
}()
|
}()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|||||||
Reference in New Issue
Block a user