fix logging format
This commit is contained in:
		
							parent
							
								
									af30a55efa
								
							
						
					
					
						commit
						ac46c95463
					
				| 
						 | 
					@ -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
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue