From da0f7b08c6e2b74172224c711de78fa2efb5f717 Mon Sep 17 00:00:00 2001 From: Hidde Beydals Date: Thu, 1 Oct 2020 19:53:30 +0200 Subject: [PATCH] Remove creationTimestamp leading spaces --- cmd/gotk/export.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) }