Skip to content

Commit

Permalink
Set config field json names (flyteorg#37)
Browse files Browse the repository at this point in the history
  • Loading branch information
EngHabu authored Dec 11, 2019
1 parent caa1219 commit ae4ebc2
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 39 deletions.
4 changes: 2 additions & 2 deletions flyteplugins/go/tasks/pluginmachinery/catalog/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import (
var cfgSection = config.MustRegisterSubSection("catalogCache", defaultConfig)

type Config struct {
ReaderWorkqueueConfig workqueue.Config
WriterWorkqueueConfig workqueue.Config
ReaderWorkqueueConfig workqueue.Config `json:"reader" pflag:",Catalog reader workqueue config. Make sure the index cache must be big enough to accommodate the biggest array task allowed to run on the system."`
WriterWorkqueueConfig workqueue.Config `json:"writer" pflag:",Catalog writer workqueue config. Make sure the index cache must be big enough to accommodate the biggest array task allowed to run on the system."`
}

var defaultConfig = &Config{
Expand Down
12 changes: 6 additions & 6 deletions flyteplugins/go/tasks/pluginmachinery/catalog/config_flags.go

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

48 changes: 24 additions & 24 deletions flyteplugins/go/tasks/pluginmachinery/catalog/config_flags_test.go

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

15 changes: 8 additions & 7 deletions flyteplugins/go/tasks/plugins/array/core/phase_enumer.go

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

0 comments on commit ae4ebc2

Please sign in to comment.