postgresql spec status fields omit empty

This commit is contained in:
Murat Kabilov 2017-05-26 12:43:30 +02:00
parent ac92696d3b
commit 0bfb81eb4f
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ type Postgresql struct {
Metadata v1.ObjectMeta `json:"metadata"`
Spec PostgresSpec `json:"spec"`
Status PostgresStatus `json:"status"`
Status PostgresStatus `json:"status,omitempty"`
Error error `json:"-"`
}