diff options
author | Daniel Condomitti <dan@interval.io> | 2012-05-22 13:37:20 -0700 |
---|---|---|
committer | Bryan McLellan <btm@opscode.com> | 2012-06-21 10:34:06 -0700 |
commit | 4a72f007abdad5af2474f48b6d5e686a44c7ae62 (patch) | |
tree | fbf94851456b334741c49a80b2be647e60819fbe | |
parent | 4eaa7677a577bba2960d82b9adefea6dcc3f5040 (diff) | |
download | chef-4a72f007abdad5af2474f48b6d5e686a44c7ae62.tar.gz |
Fix missing parenthesis in knife status.
-rw-r--r-- | chef/lib/chef/knife/status.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chef/lib/chef/knife/status.rb b/chef/lib/chef/knife/status.rb index 6ab333be04..5b098c9d0c 100644 --- a/chef/lib/chef/knife/status.rb +++ b/chef/lib/chef/knife/status.rb @@ -57,7 +57,7 @@ class Chef end all_nodes.sort { |n1, n2| - if (config[:sort_reverse] || Chef::Config[:knife][:sort_status_reverse] + if (config[:sort_reverse] || Chef::Config[:knife][:sort_status_reverse]) (n2["ohai_time"] or 0) <=> (n1["ohai_time"] or 0) else (n1["ohai_time"] or 0) <=> (n2["ohai_time"] or 0) |