Skip to content

Commit c346b06

Browse files
authored
Merge pull request #205 from replicatedhq/supportPromoteRequired
Allow required flag for kots based apps
2 parents 4524eb4 + f43fb3c commit c346b06

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

cli/cmd/release_create.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -303,10 +303,6 @@ func (r *runners) validateReleaseCreateParams() error {
303303
return errors.Errorf("the flag --ensure-channel is only supported for KOTS and Ship applications, app %q is of type %q", r.appID, r.appType)
304304
}
305305

306-
if r.args.createReleasePromoteRequired && r.appType == "kots" {
307-
return errors.Errorf("the --required flag is not supported for KOTS applications")
308-
}
309-
310306
if r.args.createReleaseYamlFile != "" && r.appType == "kots" {
311307
return errors.Errorf("the --yaml-file flag is not supported for KOTS applications, use --yaml-dir instead")
312308
}

0 commit comments

Comments
 (0)