Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

Commit

Permalink
handle no ars network
Browse files Browse the repository at this point in the history
  • Loading branch information
slntopp committed Apr 30, 2021
1 parent 0594dda commit c00201b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions service/objects/vn.rb
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ def ar_pool
pool = to_hash['VNET']['AR_POOL']['AR']
if pool.class == Hash then
return [pool]
elsif pool.nil? then
return []
else
return pool
end
Expand Down

0 comments on commit c00201b

Please sign in to comment.