Skip to content

Commit

Permalink
Update Resource requirements simply
Browse files Browse the repository at this point in the history
Signed-off-by: Ukjae Jeong <[email protected]>
  • Loading branch information
jeongukjae committed Oct 17, 2024
1 parent 83f9184 commit aa97ee8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/workflows/misc/user_container.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def foo():
metadata=m.ObjectMeta(name="something"),
spec=m.PersistentVolumeClaimSpec(
access_modes=["ReadWriteOnce"],
resources=m.ResourceRequirements(requests={"storage": m.Quantity(__root__="64Mi")}),
resources=m.ResourceRequirements(requests={"storage": "64Mi"}),
),
)
],
Expand Down

0 comments on commit aa97ee8

Please sign in to comment.