1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-22 18:50:08 +03:00

L #-: Minor linting action for NSXDriver

This commit is contained in:
Tino Vazquez 2020-06-03 14:48:11 +02:00
parent bbbd904f6d
commit ce02459c7e
No known key found for this signature in database
GPG Key ID: 2FE9C32E94AEABBE

View File

@ -88,7 +88,7 @@ module NSXDriver
def section_by_name(section_name)
url = @url_sections + '?name=' + section_name
result = @nsx_client.get(url) rescue nil
return nil if result.nil?
return if result.nil?
xp = NSXConstants::NSXV_DFW_SECTION_XPATH
section = result.xpath(xp)