Skip to content

Commit

Permalink
Merge pull request #25 from hezhizhen/patch-1
Browse files Browse the repository at this point in the history
Fix typo
  • Loading branch information
oscerd authored Sep 12, 2019
2 parents 3619145 + ec82ad4 commit 222f404
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ func TypeOfMaster(c *client.Client) (MasterType, error) {
var rp api.RootPaths
err = json.Unmarshal(res, &rp)
if err != nil {
errors.Wrap(err, "could not discover the type of your installation")
return "", errors.Wrap(err, "could not discover the type of your installation")
}
for _, p := range rp.Paths {
if p == "/oapi" {
Expand Down

0 comments on commit 222f404

Please sign in to comment.