mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-11-01 18:58:18 +00:00
Delete duplicate resource.Quantity.Copy()
This commit is contained in:
@@ -208,12 +208,12 @@ func TestResourceListConversion(t *testing.T) {
|
||||
},
|
||||
{ // Large values should still be accurate.
|
||||
input: v1.ResourceList{
|
||||
v1.ResourceCPU: *bigMilliQuantity.Copy(),
|
||||
v1.ResourceStorage: *bigMilliQuantity.Copy(),
|
||||
v1.ResourceCPU: bigMilliQuantity.DeepCopy(),
|
||||
v1.ResourceStorage: bigMilliQuantity.DeepCopy(),
|
||||
},
|
||||
expected: core.ResourceList{
|
||||
core.ResourceCPU: *bigMilliQuantity.Copy(),
|
||||
core.ResourceStorage: *bigMilliQuantity.Copy(),
|
||||
core.ResourceCPU: bigMilliQuantity.DeepCopy(),
|
||||
core.ResourceStorage: bigMilliQuantity.DeepCopy(),
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user