8000 Add logs api to docker container by nacyot · Pull Request #135 · upserve/docker-api · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Add logs api to docker container #135

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
May 31, 2014
Merged

Add logs api to docker container #135

merged 3 commits into from
May 31, 2014

Conversation

nacyot
Copy link
Contributor
@nacyot nacyot commented May 23, 2014

I add logs api to docker container class.

@@ -80,6 +80,12 @@ def to_s
end
end

[:logs].each do |method|
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not just def logs?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agree this would read better as def logs.

@nahiluhmot
Copy link
Contributor

One small code comment, but it looks like you have some cane failures. To see them locally, either run bundle exec rake quality or bundle exec cane.

@@ -23,6 +23,7 @@
its(:to_s) { should == expected_string }
end


Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Extra newline.

@bfulton
Copy link
Contributor
bfulton commented May 23, 2014

@nacyot thanks for adding! Couple minor comments above and cane failures are also minor:

lib/docker/container.rb:88        Line contains trailing whitespace
spec/docker/container_spec.rb:38  Line is >80 characters (87)
spec/docker/container_spec.rb:41  Line contains trailing whitespace
spec/docker/container_spec.rb:57  Line contains trailing whitespace

@nacyot
Copy link
Contributor Author
nacyot commented May 31, 2014

Sorry for late. I fixed some cane violations and removed extra line. :)

@bfulton
Copy link
Contributor
bfulton commented May 31, 2014

+1

bfulton added a commit that referenced this pull request May 31, 2014
Add logs api to docker container
@bfulton bfulton merged commit a6f2bc4 into upserve:master May 31, 2014
@bfulton
Copy link
Contributor
bfulton commented May 31, 2014

Thanks @nacyot! Expecting to release later this weekend.

@bfulton
Copy link
Contributor
bfulton commented Jun 2, 2014

Released in 1.11.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0