Skip to content
This repository was archived by the owner on Jan 15, 2020. It is now read-only.

Commit f077fd9

Browse files
committed
Make RecreatableFencer's constructor public so that it can instantiated through reflection
1 parent cc91d82 commit f077fd9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

server/src/com/cloud/ha/RecreatableFencer.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public class RecreatableFencer extends AdapterBase implements FenceBuilder {
3939
@Inject VolumeDao _volsDao;
4040
@Inject StoragePoolDao _poolDao;
4141

42-
protected RecreatableFencer() {
42+
public RecreatableFencer() {
4343
super();
4444
}
4545

@@ -56,7 +56,7 @@ public Boolean fenceOff(VMInstanceVO vm, HostVO host) {
5656
for (VolumeVO vol : vols) {
5757
if (!vol.isRecreatable()) {
5858
if (s_logger.isDebugEnabled()) {
59-
s_logger.debug("Unable to fence off volumes that are not recreatable: " + vol);
59+
s_logger.debug("Unable to f ence off volumes that are not recreatable: " + vol);
6060
}
6161
return null;
6262
}

0 commit comments

Comments
 (0)