Skip to content

Commit

Permalink
Merge pull request #391 from victoru/remove-tmp-nginx-diff-files
Browse files Browse the repository at this point in the history
remove tmp nginx-diff files
  • Loading branch information
aledbf authored Mar 7, 2017
2 parents d2e5c43 + dfdcdfd commit eb81f46
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions controllers/nginx/pkg/cmd/controller/nginx.go
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,7 @@ func (n NGINXController) isReloadRequired(data []byte) bool {
glog.Infof("NGINX configuration diff\n")
glog.Infof("%v", string(diffOutput))
}
os.Remove(tmpfile.Name())
return len(diffOutput) > 0
}
return false
Expand Down

0 comments on commit eb81f46

Please sign in to comment.