Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
bearium committed Nov 11, 2019
1 parent 640ac40 commit db268a6
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ resources:
vars:
- fieldref:
fieldPath: metadata.name
immediateSubstitution: false
name: MY_SERVICE_NAME
objref:
apiVersion: v1
Expand All @@ -156,7 +157,6 @@ patchesStrategicMerge:
t.Fatalf("Unexpected Error: %v", err)
}
bytes, _ := fSys.ReadFile(mf.path)

if !reflect.DeepEqual(kustomizationContentWithComments, bytes) {
t.Fatal("written kustomization with comments is not the same as original one")
}
Expand Down Expand Up @@ -219,6 +219,7 @@ kind: kustomization
vars:
- fieldref:
fieldPath: metadata.name
immediateSubstitution: false
name: MY_SERVICE_NAME
objref:
apiVersion: v1
Expand Down

0 comments on commit db268a6

Please sign in to comment.