mirror of
https://github.com/fluxcd/flux2.git
synced 2026-04-19 18:25:43 +00:00
Remove creationTimestamp leading spaces
This commit is contained in:
parent
b2286055b0
commit
1a679ee05d
3 changed files with 12 additions and 1 deletions
|
|
@ -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)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue