mirror of https://github.com/docker/compose.git
Fix linting issues
Signed-off-by: Laura Brehm <laurabrehm@hey.com>
This commit is contained in:
parent
b564cc5a17
commit
cfdec21a7f
|
@ -110,7 +110,8 @@ func TestPrepareVolumes(t *testing.T) {
|
|||
},
|
||||
},
|
||||
}
|
||||
prepareVolumes(&project)
|
||||
err := prepareVolumes(&project)
|
||||
assert.NilError(t, err)
|
||||
assert.Equal(t, project.Services[0].DependsOn["anotherService"].Condition, composetypes.ServiceConditionStarted)
|
||||
})
|
||||
t.Run("doesn't overwrite existing dependency condition", func(t *testing.T) {
|
||||
|
@ -129,7 +130,8 @@ func TestPrepareVolumes(t *testing.T) {
|
|||
},
|
||||
},
|
||||
}
|
||||
prepareVolumes(&project)
|
||||
err := prepareVolumes(&project)
|
||||
assert.NilError(t, err)
|
||||
assert.Equal(t, project.Services[0].DependsOn["anotherService"].Condition, composetypes.ServiceConditionHealthy)
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue