Skip to content

Commit

Permalink
logging bug fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
raporpe committed Jan 31, 2023
1 parent f238a8b commit 6335772
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions defender-for-vm-analyzer/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ def get_databricks_billable_vms(subscription_id):

if is_databricks_vm and DEBUG:
logger.info("The VM {} is a Databricks VM".format(vm.name))
else:
logger.info("The VM {} is not a Databricks worker since the VM plan is {}".format(vm.name, vm.plan))
elif DEBUG:
logger.info("The VM {} is not a Databricks worker")
# Skip this VM since it is not a Databricks worker
continue

Expand Down

0 comments on commit 6335772

Please sign in to comment.