Permalink
Browse files

Fixing relevant? semantics in cluster_stop and cluster_start

  • Loading branch information...
1 parent f6d15b4 commit 1b647d68e7977056cfb793cb2c564b4a363c2f83 @temujin9 temujin9 committed Feb 27, 2013
Showing with 4 additions and 4 deletions.
  1. +2 −2 lib/chef/knife/cluster_start.rb
  2. +2 −2 lib/chef/knife/cluster_stop.rb
@@ -23,8 +23,8 @@ class Knife
class ClusterStart < Ironfan::Script
import_banner_and_options(Ironfan::Script)
- def relevant?(server)
- (not bogus?) && stopped?
+ def relevant?(computer)
+ (not computer.bogus?) && computer.stopped?
end
def perform_execution(target)
@@ -23,8 +23,8 @@ class Knife
class ClusterStop < Ironfan::Script
import_banner_and_options(Ironfan::Script)
- def relevant?(server)
- (not bogus?) && server.running?
+ def relevant?(computer)
+ (not computer.bogus?) && computer.running?
end
def perform_execution(target)

0 comments on commit 1b647d6

Please sign in to comment.