From efd5f414a8c43dc42234a462af63eb3cf5506a56 Mon Sep 17 00:00:00 2001 From: Eyob Tefera Date: Sat, 1 Aug 2020 18:44:30 +0000 Subject: [PATCH] Remove unused field from field order list. --- kustomize/internal/commands/kustfile/kustomizationfile.go | 1 - kustomize/internal/commands/kustfile/kustomizationfile_test.go | 1 - 2 files changed, 2 deletions(-) diff --git a/kustomize/internal/commands/kustfile/kustomizationfile.go b/kustomize/internal/commands/kustfile/kustomizationfile.go index f347e368a..b7b34f99e 100644 --- a/kustomize/internal/commands/kustfile/kustomizationfile.go +++ b/kustomize/internal/commands/kustfile/kustomizationfile.go @@ -47,7 +47,6 @@ func determineFieldOrder() []string { "CommonLabels", "CommonAnnotations", "PatchesStrategicMerge", - "PatchesJson6902", "Patches", "ConfigMapGenerator", "SecretGenerator", diff --git a/kustomize/internal/commands/kustfile/kustomizationfile_test.go b/kustomize/internal/commands/kustfile/kustomizationfile_test.go index 5fc29770d..c5135b807 100644 --- a/kustomize/internal/commands/kustfile/kustomizationfile_test.go +++ b/kustomize/internal/commands/kustfile/kustomizationfile_test.go @@ -27,7 +27,6 @@ func TestFieldOrder(t *testing.T) { "CommonLabels", "CommonAnnotations", "PatchesStrategicMerge", - "PatchesJson6902", "Patches", "ConfigMapGenerator", "SecretGenerator",