Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixing relevant? semantics in cluster_stop and cluster_start

  • Loading branch information...
commit 1b647d68e7977056cfb793cb2c564b4a363c2f83 1 parent f6d15b4
@temujin9 temujin9 authored
View
4 lib/chef/knife/cluster_start.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)
View
4 lib/chef/knife/cluster_stop.rb
@@ -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)
Please sign in to comment.
Something went wrong with that request. Please try again.