mirror of
https://github.com/openziti/zrok.git
synced 2025-08-12 09:20:02 +02:00
fix for error message parameter lint (#131)
This commit is contained in:
@ -125,7 +125,7 @@ func assertIdentity(zId string, edge *rest_management_api_client.ZitiEdgeManagem
|
|||||||
return errors.Wrapf(err, "error listing identities for '%v'", zId)
|
return errors.Wrapf(err, "error listing identities for '%v'", zId)
|
||||||
}
|
}
|
||||||
if len(listResp.Payload.Data) != 1 {
|
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)
|
logrus.Infof("asserted identity '%v'", zId)
|
||||||
return nil
|
return nil
|
||||||
|
Reference in New Issue
Block a user