Change SizeLimit to a pointer

This PR fixes issue #50121
This commit is contained in:
Jing Xu
2017-08-04 11:50:38 -07:00
parent ad6c85ca2e
commit 4d6da1fd9a
8 changed files with 15 additions and 11 deletions

View File

@@ -651,7 +651,7 @@ type EmptyDirVolumeSource struct {
// The default is nil which means that the limit is undefined.
// More info: http://kubernetes.io/docs/user-guide/volumes#emptydir
// +optional
SizeLimit resource.Quantity
SizeLimit *resource.Quantity
}
// StorageMedium defines ways that storage can be allocated to a volume.