postgresql spec status fields omit empty
This commit is contained in:
		
							parent
							
								
									ac92696d3b
								
							
						
					
					
						commit
						0bfb81eb4f
					
				|  | @ -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:"-"` | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue