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

Typo: 'workspace' -> 'workload' #1996

Merged
merged 1 commit into from
Apr 30, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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