🌈 style:remove space in imageversion string

This commit is contained in:
linxin
2024-08-14 17:41:29 +08:00
parent 2eb301a4e1
commit 8b2089ce12

View File

@@ -224,7 +224,7 @@ func debugInpod(conf *rest.Config, clientset *kubernetes.Clientset, config types
if err != nil { if err != nil {
return "", err return "", err
} }
image := fmt.Sprintln("registry.gdnt-cloud.website/tsg-init:", imageversion) image := fmt.Sprintf("registry.gdnt-cloud.website/tsg-init:%s", imageversion)
volumeMounts := []v1.VolumeMount{ volumeMounts := []v1.VolumeMount{
{ {
Name: "host-dir", Name: "host-dir",