Skip to content

Commit 961e45f

Browse files
committed
ignore error from MarkDeprecated
1 parent 91ce5c2 commit 961e45f

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

cmd/bundle/deploy.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,7 @@ func newDeployCommand() *cobra.Command {
3333
cmd.Flags().StringVar(&clusterId, "compute-id", "", "Override cluster in the deployment with the given compute ID.")
3434
cmd.Flags().StringVarP(&clusterId, "cluster-id", "c", "", "Override cluster in the deployment with the given cluster ID.")
3535
cmd.Flags().BoolVar(&autoApprove, "auto-approve", false, "Skip interactive approvals that might be required for deployment.")
36-
if err := cmd.Flags().MarkDeprecated("compute-id", "use --cluster-id instead"); err != nil {
37-
return nil
38-
}
36+
_ = cmd.Flags().MarkDeprecated("compute-id", "use --cluster-id instead")
3937
cmd.Flags().BoolVar(&verbose, "verbose", false, "Enable verbose output.")
4038
// Verbose flag currently only affects file sync output, it's used by the vscode extension
4139
_ = cmd.Flags().MarkHidden("verbose")

0 commit comments

Comments
 (0)