mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-10-05 07:07:10 +02:00
fix logging format
This commit is contained in:
@@ -170,7 +170,7 @@ func (p *Patroni) GetNodeState(server *v1.Pod) (string, error) {
|
||||
if err != nil {
|
||||
return "", fmt.Errorf("could not unmarshal response: %v", err)
|
||||
}
|
||||
p.logger.Infof("http get response: %s", pResponse)
|
||||
p.logger.Infof("http get response: %+v", pResponse)
|
||||
|
||||
return pResponse.State, nil
|
||||
|
||||
|
||||
Reference in New Issue
Block a user