Project

General

Profile

Revision 5397ee73

Added by David Davis over 7 years ago

Fixes #9382 - Use connection info when connecting to docker

View differences:

app/helpers/containers_helper.rb
91 91
      trunc(text, length)
92 92
    end
93 93
  end
94

  
95
  def processes(container)
96
    ForemanDocker::Docker.get_container(container).top
97
  end
98

  
99
  def logs(container, opts = {})
100
    ForemanDocker::Docker.get_container(container).log(opts)
101
  end
94 102
end

Also available in: Unified diff