rig 0.4.2 → 0.4.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/rig/model/instance.rb +1 -1
- data/lib/rig/version.rb +1 -1
- metadata +1 -1
data/lib/rig/model/instance.rb
CHANGED
@@ -33,7 +33,7 @@ module Rig
|
|
33
33
|
|
34
34
|
def find_by_nick(name)
|
35
35
|
(role, env) = name.match(/(\w+)\.(\w+)/)[1..2]
|
36
|
-
|
36
|
+
find_by_environment(env).select {|s| s.tags['Name'] =~ /^#{role}/ }
|
37
37
|
end
|
38
38
|
|
39
39
|
def create(opts, tags={})
|
data/lib/rig/version.rb
CHANGED