fix for error message parameter lint (#131)

This commit is contained in:
Michael Quigley 2022-12-05 15:03:55 -05:00
parent 0dcd614cd5
commit e13ff1f090
No known key found for this signature in database
GPG Key ID: 9B60314A9DD20A62

View File

@ -125,7 +125,7 @@ func assertIdentity(zId string, edge *rest_management_api_client.ZitiEdgeManagem
return errors.Wrapf(err, "error listing identities for '%v'", zId)
}
if len(listResp.Payload.Data) != 1 {
return errors.Wrapf(err, "found %d identities for '%v'", zId)
return errors.Wrapf(err, "found %d identities for '%v'", len(listResp.Payload.Data), zId)
}
logrus.Infof("asserted identity '%v'", zId)
return nil