Remove creationTimestamp leading spaces
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user