mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-12-02 19:49:13 +00:00
Make VolumeSource not be a pointer
There's no reason for it to be a pointer.
This commit is contained in:
@@ -63,7 +63,7 @@ func (plugin *gitRepoPlugin) CanSupport(spec *api.Volume) bool {
|
||||
return false
|
||||
}
|
||||
|
||||
if spec.Source != nil && spec.Source.GitRepo != nil {
|
||||
if spec.Source.GitRepo != nil {
|
||||
return true
|
||||
}
|
||||
return false
|
||||
|
||||
Reference in New Issue
Block a user