diff --git a/cmd/gotk/export.go b/cmd/gotk/export.go index 750def2ec4..652e2396fa 100644 --- a/cmd/gotk/export.go +++ b/cmd/gotk/export.go @@ -39,7 +39,7 @@ func init() { } func resourceToString(data []byte) string { - data = bytes.Replace(data, []byte("creationTimestamp: null\n"), []byte(""), 1) + data = bytes.Replace(data, []byte(" creationTimestamp: null\n"), []byte(""), 1) data = bytes.Replace(data, []byte("status: {}\n"), []byte(""), 1) return string(data) }