Skip to content
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.

Commit

Permalink
Typo: 'workspace' -> 'workload' (#1996)
Browse files Browse the repository at this point in the history
Typo: 'workspace' -> 'workload'
  • Loading branch information
hiddeco authored Apr 30, 2019
2 parents f592d43 + 3c1b353 commit 00cc964
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion cmd/fluxctl/automate_cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ func (opts *workloadAutomateOpts) Command() *cobra.Command {

// Deprecated
cmd.Flags().StringVarP(&opts.controller, "controller", "c", "", "Controller to automate")
cmd.Flags().MarkDeprecated("controller", "changed to --workspace, use that instead")
cmd.Flags().MarkDeprecated("controller", "changed to --workload, use that instead")

return cmd
}
Expand Down
2 changes: 1 addition & 1 deletion cmd/fluxctl/deautomate_cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ func (opts *workloadDeautomateOpts) Command() *cobra.Command {

// Deprecated
cmd.Flags().StringVarP(&opts.controller, "controller", "c", "", "Controller to deautomate")
cmd.Flags().MarkDeprecated("controller", "changed to --workspace, use that instead")
cmd.Flags().MarkDeprecated("controller", "changed to --workload, use that instead")

return cmd
}
Expand Down
2 changes: 1 addition & 1 deletion cmd/fluxctl/list_images_cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ func (opts *imageListOpts) Command() *cobra.Command {

// Deprecated
cmd.Flags().StringVarP(&opts.controller, "controller", "c", "", "Show images for this controller")
cmd.Flags().MarkDeprecated("controller", "changed to --workspace, use that instead")
cmd.Flags().MarkDeprecated("controller", "changed to --workload, use that instead")

return cmd
}
Expand Down
2 changes: 1 addition & 1 deletion cmd/fluxctl/lock_cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ func (opts *workloadLockOpts) Command() *cobra.Command {

// Deprecated
cmd.Flags().StringVarP(&opts.workload, "controller", "c", "", "Controller to lock")
cmd.Flags().MarkDeprecated("controller", "changed to --workspace, use that instead")
cmd.Flags().MarkDeprecated("controller", "changed to --workload, use that instead")

return cmd
}
Expand Down
2 changes: 1 addition & 1 deletion cmd/fluxctl/policy_cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ containers which aren't explicitly named.

// Deprecated
flags.StringVarP(&opts.controller, "controller", "c", "", "Controller to modify")
flags.MarkDeprecated("controller", "changed to --workspace, use that instead")
flags.MarkDeprecated("controller", "changed to --workload, use that instead")

return cmd
}
Expand Down

0 comments on commit 00cc964

Please sign in to comment.