1
0
mirror of synced 2026-02-06 19:05:55 +00:00

Remove creationTimestamp leading spaces

This commit is contained in:
Hidde Beydals
2020-10-01 19:53:30 +02:00
parent b2286055b0
commit 1a679ee05d
3 changed files with 12 additions and 1 deletions

View File

@@ -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)
}