add a trailing slash to tmpDir

Signed-off-by: Mikhail Scherba <mikhail.scherba@flant.com>
This commit is contained in:
Mikhail Scherba 2023-12-22 11:10:56 +03:00
parent cbaf6fb69b
commit bc67504adb

View file

@ -71,7 +71,7 @@ const (
emptyUID = "-1"
)
var tmpDir = os.TempDir() + "/nginx"
var tmpDir = os.TempDir() + "/nginx/"
// NewNGINXController creates a new NGINX Ingress controller.
func NewNGINXController(config *Configuration, mc metric.Collector) *NGINXController {