mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-10-21 00:49:30 +02:00
postgresql spec status fields omit empty
This commit is contained in:
@@ -69,7 +69,7 @@ type Postgresql struct {
|
|||||||
Metadata v1.ObjectMeta `json:"metadata"`
|
Metadata v1.ObjectMeta `json:"metadata"`
|
||||||
|
|
||||||
Spec PostgresSpec `json:"spec"`
|
Spec PostgresSpec `json:"spec"`
|
||||||
Status PostgresStatus `json:"status"`
|
Status PostgresStatus `json:"status,omitempty"`
|
||||||
Error error `json:"-"`
|
Error error `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user