Skip to content

Commit

Permalink
updated config to set pflags
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Rammer <[email protected]>
  • Loading branch information
hamersaw committed Nov 28, 2023
1 parent 6ae069f commit 8ac8dc4
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 1 deletion.
2 changes: 1 addition & 1 deletion flyteplugins/go/tasks/plugins/testing/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ var (

type Config struct {
// SleepDuration indicates the amount of time before transitioning to success
SleepDuration flytestdconfig.Duration `json:"sleep-duration" pflag:"-,Indicates the amount of time before transitioning to success"`
SleepDuration flytestdconfig.Duration `json:"sleep-duration" pflag:",Indicates the amount of time before transitioning to success"`
}
3 changes: 3 additions & 0 deletions flyteplugins/go/tasks/plugins/testing/config_flags.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 14 additions & 0 deletions flyteplugins/go/tasks/plugins/testing/config_flags_test.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 8ac8dc4

Please sign in to comment.