mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-03 09:22:44 +00:00
Fix formatting issue of secret volume describer
This commit is contained in:
parent
5fc6e2d704
commit
d76683be22
@ -694,7 +694,7 @@ func printGitRepoVolumeSource(git *api.GitRepoVolumeSource, w *PrefixWriter) {
|
|||||||
func printSecretVolumeSource(secret *api.SecretVolumeSource, w *PrefixWriter) {
|
func printSecretVolumeSource(secret *api.SecretVolumeSource, w *PrefixWriter) {
|
||||||
optional := secret.Optional != nil && *secret.Optional
|
optional := secret.Optional != nil && *secret.Optional
|
||||||
w.Write(LEVEL_2, "Type:\tSecret (a volume populated by a Secret)\n"+
|
w.Write(LEVEL_2, "Type:\tSecret (a volume populated by a Secret)\n"+
|
||||||
" SecretName:\t%v\n",
|
" SecretName:\t%v\n"+
|
||||||
" Optional:\t%v\n",
|
" Optional:\t%v\n",
|
||||||
secret.SecretName, optional)
|
secret.SecretName, optional)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user