Commit be8eeaa5 authored by Jan Wozniak's avatar Jan Wozniak

kubectl: fix PV describe output for Cinder

parent 18619f08
...@@ -1041,18 +1041,18 @@ func printCinderVolumeSource(cinder *corev1.CinderVolumeSource, w PrefixWriter) ...@@ -1041,18 +1041,18 @@ func printCinderVolumeSource(cinder *corev1.CinderVolumeSource, w PrefixWriter)
w.Write(LEVEL_2, "Type:\tCinder (a Persistent Disk resource in OpenStack)\n"+ w.Write(LEVEL_2, "Type:\tCinder (a Persistent Disk resource in OpenStack)\n"+
" VolumeID:\t%v\n"+ " VolumeID:\t%v\n"+
" FSType:\t%v\n"+ " FSType:\t%v\n"+
" ReadOnly:\t%v\n", " ReadOnly:\t%v\n"+
" SecretRef:\t%v\n"+ " SecretRef:\t%v\n",
cinder.VolumeID, cinder.FSType, cinder.ReadOnly, cinder.SecretRef) cinder.VolumeID, cinder.FSType, cinder.ReadOnly, cinder.SecretRef)
} }
func printCinderPersistentVolumeSource(cinder *corev1.CinderPersistentVolumeSource, w PrefixWriter) { func printCinderPersistentVolumeSource(cinder *corev1.CinderPersistentVolumeSource, w PrefixWriter) {
w.Write(LEVEL_2, "Type:\tCinder (a Persistent Disk resource in OpenStack)\n"+ w.Write(LEVEL_2, "Type:\tCinder (a Persistent Disk resource in OpenStack)\n"+
" VolumeID:\t%v\n"+ " VolumeID:\t%v\n"+
" FSType:\t%v\n"+ " FSType:\t%v\n"+
" ReadOnly:\t%v\n", " ReadOnly:\t%v\n"+
" SecretRef:\t%v\n"+ " SecretRef:\t%v\n",
cinder.VolumeID, cinder.SecretRef, cinder.FSType, cinder.ReadOnly, cinder.SecretRef) cinder.VolumeID, cinder.FSType, cinder.ReadOnly, cinder.SecretRef)
} }
func printScaleIOVolumeSource(sio *corev1.ScaleIOVolumeSource, w PrefixWriter) { func printScaleIOVolumeSource(sio *corev1.ScaleIOVolumeSource, w PrefixWriter) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment