mirror of
https://github.com/docker/compose.git
synced 2025-07-13 00:34:29 +02:00
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)
|
assert.Equal(t, project.Services[0].DependsOn["anotherService"].Condition, composetypes.ServiceConditionStarted)
|
||||||
})
|
})
|
||||||
t.Run("doesn't overwrite existing dependency condition", func(t *testing.T) {
|
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)
|
assert.Equal(t, project.Services[0].DependsOn["anotherService"].Condition, composetypes.ServiceConditionHealthy)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user