Skip to content

Commit

Permalink
Merge pull request #604 from agrare/dont_fail_refresh_on_spbm_faults
Browse files Browse the repository at this point in the history
Don't fail the refresh on storage profile faults
  • Loading branch information
gtanzillo committed Aug 5, 2020
2 parents 499735a + 5f7cb1a commit d67e442
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -309,6 +309,8 @@ def parse_storage_profiles(vim, parser)
parser.parse_pbm_placement_hub(persister_storage_profile, placement_hub, "enter", placement_hub.props)
end
end
rescue RbVmomi::Fault => err
_log.warn("#{log_header} Unable to collect storage profiles: #{err}")
end

def save_inventory(persister)
Expand Down

0 comments on commit d67e442

Please sign in to comment.