mirror of
https://github.com/aljazceru/kata-containers.git
synced 2025-12-18 23:04:20 +01:00
runtime: Rename constraintGRPCSpec to improve grammar
"constraint" is a noun, "constrain" is the associated verb, which makes more sense in this context. Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
This commit is contained in:
@@ -541,7 +541,7 @@ func TestAppendVhostUserBlkDevices(t *testing.T) {
|
||||
updatedDevList, expected)
|
||||
}
|
||||
|
||||
func TestConstraintGRPCSpec(t *testing.T) {
|
||||
func TestConstrainGRPCSpec(t *testing.T) {
|
||||
assert := assert.New(t)
|
||||
expectedCgroupPath := "/foo/bar"
|
||||
|
||||
@@ -589,7 +589,7 @@ func TestConstraintGRPCSpec(t *testing.T) {
|
||||
}
|
||||
|
||||
k := kataAgent{}
|
||||
k.constraintGRPCSpec(g, true)
|
||||
k.constrainGRPCSpec(g, true)
|
||||
|
||||
// check nil fields
|
||||
assert.Nil(g.Hooks)
|
||||
|
||||
Reference in New Issue
Block a user