kubectl: fix PV describe output for Cinder

pull/564/head
Jan Wozniak 2018-11-21 11:11:22 +01:00
parent 18619f0849
commit be8eeaa5e6
1 changed files with 6 additions and 6 deletions

View File

@ -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) {