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

[cli] Compare date but by having a delta of 1hour #3404

Merged
merged 1 commit into from Dec 16, 2016
Merged

Conversation

benoitf
Copy link
Contributor

@benoitf benoitf commented Dec 15, 2016

What does this PR do?

What issues does this PR fix or reference?

codenvy/codenvy#1235

Previous behavior

Compare published date and created date (that have delta)

New behavior

As created date and published date are not the same (there is always a delay before publishing an image locally (transfer time) we couldn't compare published date and created date

Change two lines to a single line
Instead of "local is older", display that "a newer version is available"

exact message is : "WARN: There is a newer eclipse/che-cli:nightly image on DockerHub."
image

Change-Id: I80bb2f8c48995b5dd06ecd3cff84009b76fceee7
Signed-off-by: Florent BENOIT fbenoit@codenvy.com

…ished date are not the same (some time is elapsed before publishing an image locally (transfer time)

Change two lines to a single line
Instead of "local is older", display that "a newer version is available"

exact message is : "WARN: There is a newer eclipse/che-cli:nightly image on DockerHub."
Fix CODENVY-1235

Change-Id: I80bb2f8c48995b5dd06ecd3cff84009b76fceee7
Signed-off-by: Florent BENOIT <fbenoit@codenvy.com>
@benoitf benoitf added kind/bug Outline of a bug - must adhere to the bug report template. status/code-review This issue has a pull request posted for it and is awaiting code review completion by the community. labels Dec 15, 2016
@benoitf benoitf added this to the 5.0.0-M9 milestone Dec 15, 2016
@benoitf benoitf self-assigned this Dec 15, 2016
@codenvy-ci
Copy link

@benoitf benoitf merged commit d1d13a1 into master Dec 16, 2016
@benoitf benoitf deleted the CODENVY-1235 branch December 16, 2016 07:25
@benoitf benoitf removed the status/code-review This issue has a pull request posted for it and is awaiting code review completion by the community. label Dec 16, 2016
JPinkney pushed a commit to JPinkney/che that referenced this pull request Aug 17, 2017
…ished date are not the same (some time is elapsed before publishing an image locally (transfer time) (eclipse-che#3404)

Change two lines to a single line
Instead of "local is older", display that "a newer version is available"

exact message is : "WARN: There is a newer eclipse/che-cli:nightly image on DockerHub."
Fix CODENVY-1235

Change-Id: I80bb2f8c48995b5dd06ecd3cff84009b76fceee7
Signed-off-by: Florent BENOIT <fbenoit@codenvy.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Outline of a bug - must adhere to the bug report template.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants