mirror of
https://github.com/kairos-io/provider-kairos.git
synced 2025-09-18 00:02:14 +00:00
🤖 Check out crond is running
Signed-off-by: Ettore Di Giacinto <mudler@users.noreply.github.com>
This commit is contained in:
@@ -95,7 +95,9 @@ func ReplaceToken(dir []string, token string) (err error) {
|
||||
return err
|
||||
}
|
||||
|
||||
return ioutil.WriteFile(f, []byte(config.AddHeader(header, string(d))), fi.Mode().Perm())
|
||||
if err := ioutil.WriteFile(f, []byte(config.AddHeader(header, string(d))), fi.Mode().Perm()); err != nil {
|
||||
return err
|
||||
}
|
||||
}
|
||||
|
||||
return nil
|
||||
|
Reference in New Issue
Block a user