feat: pretty json

This commit is contained in:
Alexis Couvreur
2022-11-02 14:21:08 +00:00
parent 29b81f9de3
commit 154bb5e7ed
2 changed files with 10 additions and 5 deletions

View File

@@ -7,10 +7,10 @@ var NotReady = "not-ready"
var Unrecoverable = "unrecoverable"
type State struct {
Name string
CurrentReplicas int
Status string
Message string
Name string `json:"name"`
CurrentReplicas int `json:"currentReplicas"`
Status string `json:"status"`
Message string `json:"message,omitempty"`
}
func (instance State) IsReady() bool {