Skip to content

Commit

Permalink
fix the error message
Browse files Browse the repository at this point in the history
  • Loading branch information
mkabilov committed Oct 16, 2017
1 parent 52c3ef1 commit 757515a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/util/patroni/patroni.go
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ func (p *Patroni) Status(pod *v1.Pod) (*Status, error) {

err = json.NewDecoder(resp.Body).Decode(status)
if err != nil {
return nil, fmt.Errorf("could not parse team API response: %v", err)
return nil, fmt.Errorf("could not parse response from patroni: %v", err)
}

return status, nil
Expand Down

0 comments on commit 757515a

Please sign in to comment.