Skip to content

Commit

Permalink
Filter out iops.
Browse files Browse the repository at this point in the history
  • Loading branch information
neunhoef committed Apr 11, 2019
1 parent 1a986ea commit 3ebb303
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/util/k8sutil/pods.go
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ func FilterStorageResourceRequirement(resources v1.ResourceRequirements) v1.Reso
filterStorage := func(list v1.ResourceList) v1.ResourceList {
newlist := make(v1.ResourceList)
for k, v := range list {
if k == v1.ResourceStorage {
if k == v1.ResourceStorage || k == "iops" {
continue
}
newlist[k] = v
Expand Down

0 comments on commit 3ebb303

Please sign in to comment.