mirror of
https://github.com/sablierapp/sablier.git
synced 2025-12-30 17:47:26 +01:00
feat: pretty json
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user