Skip to content

Commit 7ddd2cc

Browse files
committed
==->=
Signed-off-by: Zheng Li <[email protected]>
1 parent c9b6940 commit 7ddd2cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ocaml/xapi/xapi_host_helpers.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ let valid_operations ~__context record _ref' =
8484
(* The host power_on_mode must be not disabled *)
8585
begin
8686
try
87-
if record.Db_actions.host_power_on_mode == ""
87+
if record.Db_actions.host_power_on_mode = ""
8888
then set_errors Api_errors.host_power_on_mode_disabled [] [ `power_on ]
8989
with _ -> ()
9090
end;

0 commit comments

Comments
 (0)