(m *mount.Mount)
| 94 | } |
| 95 | |
| 96 | func ensureVolumeDriver(m *mount.Mount) *mount.Driver { |
| 97 | ensureVolumeOptions(m) |
| 98 | if m.VolumeOptions.DriverConfig == nil { |
| 99 | m.VolumeOptions.DriverConfig = &mount.Driver{} |
| 100 | } |
| 101 | return m.VolumeOptions.DriverConfig |
| 102 | } |
| 103 | |
| 104 | func ensureImageOptions(m *mount.Mount) *mount.ImageOptions { |
| 105 | if m.ImageOptions == nil { |
no test coverage detected
searching dependent graphs…