Skip to content

Commit 252e51f

Browse files
committed
Fix tests
Signed-off-by: Ciprian Hacman <[email protected]>
1 parent 4437ee2 commit 252e51f

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

tests/codecs/componentconfig_test.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,7 @@ func TestSerializeEmptyCluster(t *testing.T) {
3636
yamlString := string(yaml)
3737
expected := `apiVersion: kops.k8s.io/v1alpha3
3838
kind: Cluster
39-
metadata:
40-
creationTimestamp: null
39+
metadata: {}
4140
spec:
4241
api: {}
4342
cloudProvider: {}

upup/pkg/fi/vfs_castore_test.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,6 @@ func TestVFSCAStoreRoundTrip(t *testing.T) {
124124
apiVersion: kops.k8s.io/v1alpha2
125125
kind: Keyset
126126
metadata:
127-
creationTimestamp: null
128127
name: kubernetes-ca
129128
spec:
130129
keys:

0 commit comments

Comments
 (0)