Skip to content

Commit a70dcd6

Browse files
rp-dhslove
authored andcommitted
CheckOnHostCommand: add missing timeout setting (apache#9677)
1 parent fc1b392 commit a70dcd6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

core/src/main/java/com/cloud/agent/api/CheckOnHostCommand.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,7 @@ public CheckOnHostCommand(Host host) {
3939
}
4040

4141
public CheckOnHostCommand(Host host, boolean reportCheckFailureIfOneStorageIsDown) {
42-
super();
43-
this.host = new HostTO(host);
42+
this(host);
4443
this.reportCheckFailureIfOneStorageIsDown = reportCheckFailureIfOneStorageIsDown;
4544
}
4645

0 commit comments

Comments
 (0)