Skip to content

Commit

Permalink
cli grid: also show supernet
Browse files Browse the repository at this point in the history
  • Loading branch information
Tero Marttila committed Jan 12, 2017
1 parent c7f9a27 commit 8ab7b54
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cli/lib/kontena/cli/grids/common.rb
Expand Up @@ -8,6 +8,7 @@ def print_grid(grid)
puts "#{grid['name']}:"
puts " uri: #{host.sub('http', 'ws')}"
puts " subnet: #{grid['subnet']}"
puts " supernet: #{grid['supernet']}"
root_dir = grid['engine_root_dir']
nodes = client(require_token).get("grids/#{grid['name']}/nodes")
nodes = nodes['nodes'].select{|n| n['connected'] == true }
Expand Down

0 comments on commit 8ab7b54

Please sign in to comment.