PT-2302 - pt-k8s-debug-collector cannot pass properly to pt-mysql-summary PXC root password with special characters

- typo in error message
This commit is contained in:
Sveta Smirnova
2024-04-22 15:57:11 +03:00
parent 86c3abbc15
commit 696349393c

View File

@@ -443,7 +443,7 @@ func (d *Dumper) getPodSummary(resource, podName, crName string, namespace strin
} }
user, err := d.getDataFromSecret(cr.Spec.Secrets.Users, "MONGODB_DATABASE_ADMIN_USER", namespace) user, err := d.getDataFromSecret(cr.Spec.Secrets.Users, "MONGODB_DATABASE_ADMIN_USER", namespace)
if err != nil { if err != nil {
return nil, errors.Wrap(err, "get password from psmdb users secret") return nil, errors.Wrap(err, "get user name from psmdb users secret")
} }
pass, err := d.getDataFromSecret(cr.Spec.Secrets.Users, "MONGODB_DATABASE_ADMIN_PASSWORD", namespace) pass, err := d.getDataFromSecret(cr.Spec.Secrets.Users, "MONGODB_DATABASE_ADMIN_PASSWORD", namespace)
if err != nil { if err != nil {