lib/doggy/models/monitor.rb in doggy-2.0.4 vs lib/doggy/models/monitor.rb in doggy-2.0.5
- old
+ new
@@ -43,10 +43,10 @@
end
def initialize(attributes = nil)
super(attributes)
- options.monitor = self
+ options.monitor = self if options
end
def managed?
!(name =~ Doggy::DOG_SKIP_REGEX)
end