Run "make format" (#603)
There was some code that wasn't formatted according to gofmt. This fixes that.
This commit is contained in:
committed by
Brian Goff
parent
f1cb6a7bf6
commit
ef62defcea
4
providers/vic/cache/pod_cache.go
vendored
4
providers/vic/cache/pod_cache.go
vendored
@@ -24,11 +24,11 @@ type VicPodCache struct {
|
||||
|
||||
type CacheError string
|
||||
|
||||
func (c CacheError) Error() string {return string(c)}
|
||||
func (c CacheError) Error() string { return string(c) }
|
||||
|
||||
const (
|
||||
PodCachePodNameError = CacheError("PodCache called with empty pod name")
|
||||
PodCacheNilPodError = CacheError("PodCache called with nil pod")
|
||||
PodCacheNilPodError = CacheError("PodCache called with nil pod")
|
||||
)
|
||||
|
||||
func NewVicPodCache() PodCache {
|
||||
|
||||
@@ -66,12 +66,12 @@ func initPod() {
|
||||
Generation: 0,
|
||||
DeletionTimestamp: nil,
|
||||
DeletionGracePeriodSeconds: nil,
|
||||
Labels: map[string]string{},
|
||||
Annotations: map[string]string{},
|
||||
OwnerReferences: nil,
|
||||
Initializers: nil,
|
||||
Finalizers: nil,
|
||||
ClusterName: "",
|
||||
Labels: map[string]string{},
|
||||
Annotations: map[string]string{},
|
||||
OwnerReferences: nil,
|
||||
Initializers: nil,
|
||||
Finalizers: nil,
|
||||
ClusterName: "",
|
||||
},
|
||||
Spec: v1.PodSpec{
|
||||
Volumes: []v1.Volume{
|
||||
@@ -92,23 +92,23 @@ func initPod() {
|
||||
ISCSI: nil,
|
||||
Glusterfs: nil,
|
||||
PersistentVolumeClaim: nil,
|
||||
RBD: nil,
|
||||
FlexVolume: nil,
|
||||
Cinder: nil,
|
||||
CephFS: nil,
|
||||
Flocker: nil,
|
||||
DownwardAPI: nil,
|
||||
FC: nil,
|
||||
AzureFile: nil,
|
||||
ConfigMap: nil,
|
||||
VsphereVolume: nil,
|
||||
Quobyte: nil,
|
||||
AzureDisk: nil,
|
||||
PhotonPersistentDisk: nil,
|
||||
Projected: nil,
|
||||
PortworxVolume: nil,
|
||||
ScaleIO: nil,
|
||||
StorageOS: nil,
|
||||
RBD: nil,
|
||||
FlexVolume: nil,
|
||||
Cinder: nil,
|
||||
CephFS: nil,
|
||||
Flocker: nil,
|
||||
DownwardAPI: nil,
|
||||
FC: nil,
|
||||
AzureFile: nil,
|
||||
ConfigMap: nil,
|
||||
VsphereVolume: nil,
|
||||
Quobyte: nil,
|
||||
AzureDisk: nil,
|
||||
PhotonPersistentDisk: nil,
|
||||
Projected: nil,
|
||||
PortworxVolume: nil,
|
||||
ScaleIO: nil,
|
||||
StorageOS: nil,
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user