Skip to content
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

following the 'go vet' suggestions for the docker package. #1032

Merged
merged 2 commits into from Jun 28, 2013

Conversation

andrewsmedina
Copy link
Contributor

No description provided.

@@ -133,7 +133,7 @@ func HumanDuration(d time.Duration) string {
} else if hours < 24*365*2 {
return fmt.Sprintf("%d months", hours/24/30)
}
return fmt.Sprintf("%d years", d.Hours()/24/365)
Copy link
Contributor

Choose a reason for hiding this comment

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

I don't like this change, it'll display years as float (with ,)

@vieux
Copy link
Contributor

vieux commented Jun 27, 2013

Besides my comment, LGTM (it fixes issue with login, currently %s is displayed)

@creack
Copy link
Contributor

creack commented Jun 27, 2013

LGTM

vieux pushed a commit that referenced this pull request Jun 28, 2013
following the 'go vet' suggestions for the docker package.
@vieux vieux merged commit a11fc9f into moby:master Jun 28, 2013
@vieux
Copy link
Contributor

vieux commented Jun 28, 2013

Thanks!

@andrewsmedina andrewsmedina deleted the govet branch June 30, 2013 19:50
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.

None yet

3 participants