Return err

pull/4253/head
tstromberg 2019-05-14 20:20:53 -07:00
parent fc1d6acf87
commit 159e69fa10
1 changed files with 1 additions and 2 deletions

View File

@ -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))