fix error description

This commit is contained in:
Sergey Dudoladov
2020-04-08 09:44:01 +02:00
parent 3814e89830
commit 3e639676c4
+1 -1
View File
@@ -152,7 +152,7 @@ func (p *Patroni) GetNodeState(server *v1.Pod) (string, error) {
state, ok := data["state"].(string)
if !ok {
return "", errors.New("Patroni Get call rerturned wrong type for 'state' field")
return "", errors.New("Patroni Get call response contains wrong type for 'state' field")
}
return state, nil