summaryrefslogtreecommitdiff
path: root/internal/cli/workers/command.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/cli/workers/command.go')
-rw-r--r--internal/cli/workers/command.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/cli/workers/command.go b/internal/cli/workers/command.go
index f498b7af..78d8d1d2 100644
--- a/internal/cli/workers/command.go
+++ b/internal/cli/workers/command.go
@@ -19,7 +19,7 @@ import (
)
// NewCommand creates `workers` command.
-func NewCommand(cfgFile *string) *cobra.Command { //nolint:funlen
+func NewCommand(cfgFile *string, override *[]string) *cobra.Command { //nolint:funlen
var (
// interactive workers updates
interactive bool
@@ -38,7 +38,7 @@ func NewCommand(cfgFile *string) *cobra.Command { //nolint:funlen
return errors.E(op, errors.Str("no configuration file provided"))
}
- client, err := internalRpc.NewClient(*cfgFile)
+ client, err := internalRpc.NewClient(*cfgFile, *override)
if err != nil {
return err
}