Skip to content

Commit

Permalink
Return err
Browse files Browse the repository at this point in the history
  • Loading branch information
tstromberg committed May 15, 2019
1 parent fc1d6ac commit 159e69f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions hack/kubernetes_version/update_kubernetes_version.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,7 @@ func main() {
}
cf, err = ioutil.ReadFile(path)
if err != nil {
// Keep going if this errors out
fmt.Println(err)
return err
}
re = regexp.MustCompile(`kubernetesVersion: .*`)
cf = []byte(re.ReplaceAllString(string(cf), "kubernetesVersion: "+v))
Expand Down

0 comments on commit 159e69f

Please sign in to comment.