remove tmp nginx-diff files
This commit is contained in:
parent
d2e5c43eaa
commit
dfdcdfde0b
1 changed files with 1 additions and 0 deletions
|
@ -223,6 +223,7 @@ func (n NGINXController) isReloadRequired(data []byte) bool {
|
||||||
glog.Infof("NGINX configuration diff\n")
|
glog.Infof("NGINX configuration diff\n")
|
||||||
glog.Infof("%v", string(diffOutput))
|
glog.Infof("%v", string(diffOutput))
|
||||||
}
|
}
|
||||||
|
os.Remove(tmpfile.Name())
|
||||||
return len(diffOutput) > 0
|
return len(diffOutput) > 0
|
||||||
}
|
}
|
||||||
return false
|
return false
|
||||||
|
|
Loading…
Reference in a new issue