mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-23 05:04:56 +09:00
L #-: Minor linting action for NSXDriver
This commit is contained in:
1 file changed
+1
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user