fix: error message for LogPin

This commit is contained in:
Alan Shaw 2021-05-12 14:26:51 +01:00 committed by GitHub
parent 656317d523
commit 275d01efb6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -416,7 +416,7 @@ func (css *Consensus) LogPin(ctx context.Context, pin *api.Pin) error {
}:
return nil
default:
return fmt.Errorf("error unpinning: %w", ErrMaxQueueSizeReached)
return fmt.Errorf("error pinning: %w", ErrMaxQueueSizeReached)
}
}