PostgresStatus.String() now returns a valid JSON sting
This commit is contained in:
parent
2784493665
commit
d5a578940f
|
|
@ -102,5 +102,5 @@ func (postgresStatus PostgresStatus) Creating() bool {
|
|||
}
|
||||
|
||||
func (postgresStatus PostgresStatus) String() string {
|
||||
return fmt.Sprintf(`"status":{"PostgresClusterStatus": %s}`, postgresStatus.PostgresClusterStatus)
|
||||
return fmt.Sprintf(`{"status":{"PostgresClusterStatus": %s}}`, string(postgresStatus.PostgresClusterStatus))
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue