Skip to content
This repository has been archived by the owner on Dec 12, 2024. It is now read-only.

Commit

Permalink
update log
Browse files Browse the repository at this point in the history
  • Loading branch information
nitro-neal committed Jun 6, 2023
1 parent 1cb6cdc commit e14646c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/service/credential/storage.go
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ func (cs *Storage) GetStatusListCredential(ctx context.Context, id string) (*Sto
}

if len(storedCreds) == 0 {
logrus.Info("no credentials able to be retrieved for id: %s", id)
logrus.Infof("no credentials able to be retrieved for id: %s", id)
}

if len(storedCreds) > 1 {
Expand Down Expand Up @@ -553,7 +553,7 @@ func (cs *Storage) GetStatusListCredentialsByIssuerSchemaPurpose(ctx context.Con
}

if len(storedCreds) == 0 {
logrus.Info("no credentials able to be retrieved for issuer: %s", issuerSchemaKeys)
logrus.Infof("no credentials able to be retrieved for issuer: %s", issuerSchemaKeys)
}

return storedCreds, nil
Expand Down Expand Up @@ -594,7 +594,7 @@ func (cs *Storage) getCredentialsByIssuerAndSchema(ctx context.Context, issuer s
}

if len(storedCreds) == 0 {
logrus.Info("no credentials able to be retrieved for issuer: %s", issuerSchemaKeys)
logrus.Infof("no credentials able to be retrieved for issuer: %s", issuerSchemaKeys)
}

return storedCreds, nil
Expand Down

0 comments on commit e14646c

Please sign in to comment.