mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-13 05:02:50 +00:00
Make VolumeSource not be a pointer
There's no reason for it to be a pointer.
This commit is contained in:
@@ -272,7 +272,7 @@ func TestDiskConflicts(t *testing.T) {
|
||||
volState := api.PodSpec{
|
||||
Volumes: []api.Volume{
|
||||
{
|
||||
Source: &api.VolumeSource{
|
||||
Source: api.VolumeSource{
|
||||
GCEPersistentDisk: &api.GCEPersistentDisk{
|
||||
PDName: "foo",
|
||||
},
|
||||
@@ -283,7 +283,7 @@ func TestDiskConflicts(t *testing.T) {
|
||||
volState2 := api.PodSpec{
|
||||
Volumes: []api.Volume{
|
||||
{
|
||||
Source: &api.VolumeSource{
|
||||
Source: api.VolumeSource{
|
||||
GCEPersistentDisk: &api.GCEPersistentDisk{
|
||||
PDName: "bar",
|
||||
},
|
||||
|
Reference in New Issue
Block a user