Skip to content

Commit

Permalink
remove tmp nginx-diff files
Browse files Browse the repository at this point in the history
  • Loading branch information
victoru committed Mar 7, 2017
1 parent d2e5c43 commit dfdcdfd
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 dfdcdfd

Please sign in to comment.