lib/testlab/container/status.rb in testlab-1.4.3 vs lib/testlab/container/status.rb in testlab-1.4.4

- old
+ new

@@ -68,10 +68,14 @@ # # What state the container is in. # # @return [Symbol] A symbol indicating the state of the container. def state - self.lxc.state + if self.lxc_clone.exists? + self.lxc_clone.state + else + self.lxc.state + end end # Container Mode # # What mode the container is in.