mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2026-01-08 00:01:40 +00:00
Make VolumeSource not be a pointer
There's no reason for it to be a pointer.
This commit is contained in:
@@ -46,7 +46,7 @@ func (plugin *hostPathPlugin) Name() string {
|
||||
}
|
||||
|
||||
func (plugin *hostPathPlugin) CanSupport(spec *api.Volume) bool {
|
||||
if spec.Source != nil && spec.Source.HostPath != nil {
|
||||
if spec.Source.HostPath != nil {
|
||||
return true
|
||||
}
|
||||
return false
|
||||
|
||||
Reference in New Issue
Block a user