Skip to content

Commit

Permalink
remove bogus log statement, cleanup function
Browse files Browse the repository at this point in the history
  • Loading branch information
abbbi committed Dec 9, 2023
1 parent 96dd190 commit 0952034
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions libvirtnbdbackup/nbdcli/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,13 +150,9 @@ def connect(self) -> nbd.NBD:
retry = retry + 1
continue

if connection:
log.info("Connection to NBD backend succeeded.")
self.connection = connection
return self

log.info("Waiting for NBD Server, Retry: %s", retry)
retry = retry + 1
log.info("Connection to NBD backend succeeded.")
self.connection = connection
return self

def disconnect(self) -> None:
"""Close nbd connection handle"""
Expand Down

0 comments on commit 0952034

Please sign in to comment.