Skip to content

Commit c568697

Browse files
committed
xapi_xenops: Remove unnecessary Helpers.get_localhost call
There's already a 'localhost' in scope. Signed-off-by: Andrii Sultanov <[email protected]>
1 parent 3b76902 commit c568697

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

ocaml/xapi/xapi_xenops.ml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2124,7 +2124,6 @@ let update_vm ~__context id =
21242124
debug "xenopsd event: Updating VM %s consoles" id ;
21252125
Option.iter
21262126
(fun (_, state) ->
2127-
let localhost = Helpers.get_localhost ~__context in
21282127
let address =
21292128
Db.Host.get_address ~__context ~self:localhost
21302129
in

0 commit comments

Comments
 (0)