Skip to content

Commit d4d7e5d

Browse files
committed
Tweak error message
1 parent 8bfabaa commit d4d7e5d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cloud/scope/machinepool.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -583,7 +583,7 @@ func (m *MachinePoolScope) GetBootstrapData() (string, error) {
583583
secret := &corev1.Secret{}
584584
key := types.NamespacedName{Namespace: m.Namespace(), Name: *m.MachinePool.Spec.Template.Spec.Bootstrap.DataSecretName}
585585
if err := m.Client.Get(context.TODO(), key, secret); err != nil {
586-
return "", errors.Wrapf(err, "failed to retrieve bootstrap data secret for GCPMachine %s/%s", m.Namespace(), m.Name())
586+
return "", errors.Wrapf(err, "failed to retrieve bootstrap data secret for MachinePool %s/%s", m.Namespace(), m.Name())
587587
}
588588

589589
value, ok := secret.Data["value"]

0 commit comments

Comments
 (0)