Skip to content

Commit

Permalink
Merge pull request #172 from aufi/skip_disabled_tenants
Browse files Browse the repository at this point in the history
Skip disabled tenants when connecting to OpenStack
  • Loading branch information
mansam authored Dec 4, 2017
2 parents a29bbed + 9591e89 commit e98c61d
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,8 @@ def accessible_tenants
# the "services" tenant is a special tenant in openstack reserved
# specifically for the various services
next if t.name == "services"
tenant_accessible?(t.name)
# disabled and non-accessible tenants are skipped
t.enabled && tenant_accessible?(t.name)
end
end

Expand Down

0 comments on commit e98c61d

Please sign in to comment.