lib/testlab/container/class_methods.rb in testlab-0.7.3 vs lib/testlab/container/class_methods.rb in testlab-0.7.4
- old
+ new
@@ -9,10 +9,10 @@
# across all containers
#
# @return [Array<String>] A unique array of all defined domain names.
def domains
self.all.map do |container|
- container.domain ||= container.node.labfile.config[:domain]
+ container.domain ||= container.node.domain
container.domain
end.compact.uniq
end
end