mirror of
https://github.com/portainer/portainer.git
synced 2025-11-26 14:06:05 +08:00
fix(stack): unable to delete invalid stack [EE-5753] (#11813)
This commit is contained in:
@@ -23,6 +23,7 @@ func Test_createEnvFile(t *testing.T) {
|
||||
name: "should not add env file option if stack doesn't have env variables",
|
||||
stack: &portainer.Stack{
|
||||
ProjectPath: dir,
|
||||
Env: nil,
|
||||
},
|
||||
expected: "",
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user