Fix file permissions to support volumes

This commit is contained in:
Manuel Alejandro de Brito Fontes 2019-08-15 20:25:35 -04:00
parent f4da014907
commit 23ed3ba4c4
No known key found for this signature in database
GPG key ID: 786136016A8BA02A
7 changed files with 148 additions and 18 deletions

View file

@ -37,7 +37,7 @@ func TestNginxCheck(t *testing.T) {
listener, err := net.Listen("unix", nginx.StatusSocket)
if err != nil {
t.Errorf("crating unix listener: %s", err)
t.Fatalf("crating unix listener: %s", err)
}
defer listener.Close()
defer os.Remove(nginx.StatusSocket)