Skip to content

Commit

Permalink
Retain replicas field in edit marshal path
Browse files Browse the repository at this point in the history
  • Loading branch information
richardmarshall committed Aug 8, 2019
1 parent f9fe138 commit eaae7af
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions pkg/commands/kustfile/kustomizationfile.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ func determineFieldOrder() []string {
"GeneratorOptions",
"Vars",
"Images",
"Replicas",
"Configurations",
"Generators",
"Transformers",
Expand Down
1 change: 1 addition & 0 deletions pkg/commands/kustfile/kustomizationfile_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ func TestFieldOrder(t *testing.T) {
"GeneratorOptions",
"Vars",
"Images",
"Replicas",
"Configurations",
"Generators",
"Transformers",
Expand Down

0 comments on commit eaae7af

Please sign in to comment.