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

Wip/docker refactoring #486

Merged
merged 2 commits into from
Feb 13, 2015
Merged

Wip/docker refactoring #486

merged 2 commits into from
Feb 13, 2015

Conversation

muuki88
Copy link
Contributor

@muuki88 muuki88 commented Feb 11, 2015

First rework of the docker API according to #453

Reviews appreciated @fiadliel , @huntc , @hseeberger

* @return MAINTAINER if defined
*/
private final def makeMaintainer(maintainer: String): Option[CmdLike] =
if (maintainer == null || maintainer.isEmpty) None else Some(Cmd("MAINTAINER", maintainer))
Copy link
Contributor

Choose a reason for hiding this comment

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

How can maintainer ever be null?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Too much Java code. Should not be possible

@huntc
Copy link
Contributor

huntc commented Feb 13, 2015

LGTM - just one use of null that concerns me.

@muuki88
Copy link
Contributor Author

muuki88 commented Feb 13, 2015

Thanks for taking a look. I removed the critical parts.

@huntc
Copy link
Contributor

huntc commented Feb 13, 2015

LGTM

@andypetrella
Copy link

Would be awesome to have this one merged, so that I could easily be one of your first user of these features.

In two words: need it
:-D

cheers,
andy

muuki88 added a commit that referenced this pull request Feb 13, 2015
@muuki88 muuki88 merged commit bcc2552 into master Feb 13, 2015
@muuki88 muuki88 deleted the wip/docker-refactoring branch February 13, 2015 21:23
@muuki88
Copy link
Contributor Author

muuki88 commented Feb 16, 2015

Available in 1.0.0-M5

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

Successfully merging this pull request may close these issues.

4 participants