parent
4555a64572
commit
ff72c4f1e6
1 changed files with 1 additions and 2 deletions
|
@ -39,10 +39,9 @@ func (dc DummyController) SetConfig(cfgMap *api.ConfigMap) {
|
|||
func (dc DummyController) Reload(data []byte) ([]byte, bool, error) {
|
||||
out, err := exec.Command("echo", string(data)).CombinedOutput()
|
||||
if err != nil {
|
||||
log.Printf("Reloaded new config %s", out)
|
||||
} else {
|
||||
return out, false, err
|
||||
}
|
||||
log.Printf("Reloaded new config %s", out)
|
||||
return out, true, err
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue