mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-22 21:40:55 +01:00
Fix call to non-existing getDisplayName() in DiffusionRepositoryClusterEngine.php
Summary: `DiffusionRepositoryClusterEngine` calls `$this->getDisplayName()` which is not defined in this class or its parent class. Looking at the variable use in the companying error message, getting the name of the `$repository` was intended instead. Test Plan: Carefully read the code and check available methods in its parent classes. Reviewers: O1 Blessed Committers, valerio.bozzolan Reviewed By: O1 Blessed Committers, valerio.bozzolan Subscribers: tobiaswiese, valerio.bozzolan, Matthew, Cigaryno Differential Revision: https://we.phorge.it/D25653
This commit is contained in:
parent
d8cd959622
commit
cb5a72b5e6
1 changed files with 1 additions and 1 deletions
|
@ -586,7 +586,7 @@ final class DiffusionRepositoryClusterEngine extends Phobject {
|
|||
'for %s seconds(s). This repository will be frozen.',
|
||||
$this->clusterWriteOwner,
|
||||
$device->getName(),
|
||||
$this->getDisplayName(),
|
||||
$repository->getDisplayName(),
|
||||
new PhutilNumber($duration)));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue