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:
parent
bbbd904f6d
commit
ce02459c7e
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user