fix logging format

This commit is contained in:
Sergey Dudoladov 2020-04-07 09:54:00 +02:00
parent af30a55efa
commit ac46c95463
1 changed files with 1 additions and 1 deletions

View File

@ -170,7 +170,7 @@ func (p *Patroni) GetNodeState(server *v1.Pod) (string, error) {
if err != nil { if err != nil {
return "", fmt.Errorf("could not unmarshal response: %v", err) 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 return pResponse.State, nil