diff options
author | Luke Kanies <luke@madstop.com> | 2008-07-04 15:35:18 -0500 |
---|---|---|
committer | Luke Kanies <luke@madstop.com> | 2008-07-04 15:35:18 -0500 |
commit | 2863df288150da87a58ce4d938bbcf9a5d841f43 (patch) | |
tree | 571c8de49b1133655551f6a43dd7f4ec39d28e30 /lib/puppet/pgraph.rb | |
parent | a37a7845073ef0b0923549364cbac5e0e39e3194 (diff) | |
download | puppet-2863df288150da87a58ce4d938bbcf9a5d841f43.tar.gz puppet-2863df288150da87a58ce4d938bbcf9a5d841f43.tar.xz puppet-2863df288150da87a58ce4d938bbcf9a5d841f43.zip |
Refactoring the Transaction::Event class.
The class had a 'transaction' accessor that was assigned
but never used, and it is simple enough that it needed
direct arguments rather than named arguments.
The rest of the code is changing the other classes that use
Events.
Signed-off-by: Luke Kanies <luke@madstop.com>
Diffstat (limited to 'lib/puppet/pgraph.rb')
-rw-r--r-- | lib/puppet/pgraph.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/puppet/pgraph.rb b/lib/puppet/pgraph.rb index 3bcc2ced0..55ad7d2c1 100644 --- a/lib/puppet/pgraph.rb +++ b/lib/puppet/pgraph.rb @@ -58,7 +58,7 @@ class Puppet::PGraph < Puppet::SimpleGraph # to, which is the same thing as saying all edges directly below # This vertex in the graph. adjacent(source, :direction => :out, :type => :edges).find_all do |edge| - edge.match?(event.event) + edge.match?(event.name) end end.compact.flatten end |