fix: error message for LogPin
This commit is contained in:
parent
656317d523
commit
275d01efb6
|
@ -416,7 +416,7 @@ func (css *Consensus) LogPin(ctx context.Context, pin *api.Pin) error {
|
||||||
}:
|
}:
|
||||||
return nil
|
return nil
|
||||||
default:
|
default:
|
||||||
return fmt.Errorf("error unpinning: %w", ErrMaxQueueSizeReached)
|
return fmt.Errorf("error pinning: %w", ErrMaxQueueSizeReached)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user