Skip to content

Commit 63d7c37

Browse files
committed
Fix generated code for ARCHIVED enum and pflags
- Add case 2 (ARCHIVED) to LaunchPlanClosure and LaunchPlanUpdateRequest verify functions in flyteidl.js - Reword Archive pflag description to avoid comma that causes double-space artifact in pflags code generation Signed-off-by: Blake <blaketastic2@gmail.com>
1 parent e0f3c36 commit 63d7c37

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

flytectl/cmd/config/subcommand/launchplan/updateconfig.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ var (
88
// Config
99
type UpdateConfig struct {
1010
Activate bool `json:"activate" pflag:",activate launchplan."`
11-
Archive bool `json:"archive" pflag:",archive the launch plan version, hiding it from list queries and disabling any schedule."`
11+
Archive bool `json:"archive" pflag:",archive the launch plan version and hide it from list queries (disabling any schedule)."`
1212
Deactivate bool `json:"deactivate" pflag:",disable the launch plan schedule (if it has an active schedule associated with it)."`
1313
DryRun bool `json:"dryRun" pflag:",execute command without making any modifications."`
1414
Force bool `json:"force" pflag:",do not ask for an acknowledgement during updates."`

flytectl/cmd/config/subcommand/launchplan/updateconfig_flags.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flyteidl/gen/pb-js/flyteidl.js

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)