Skip to content
This repository has been archived by the owner on Oct 12, 2021. It is now read-only.

Only do a pull every N weeks #90

Open
ciera opened this issue Sep 28, 2015 · 1 comment
Open

Only do a pull every N weeks #90

ciera opened this issue Sep 28, 2015 · 1 comment
Labels

Comments

@ciera
Copy link
Contributor

ciera commented Sep 28, 2015

Right now, we do a docker pull every time we run the CLI just to see if we have a new version. Instead, we could set this up to only run if it hasn't attempted a pull in N day.

@ciera ciera added the P2 label Sep 28, 2015
@ciera
Copy link
Contributor Author

ciera commented Sep 28, 2015

Relevant code is here, function OutOfDate.

https://github.com/google/shipshape/blob/master/shipshape/util/docker/docker.go

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

No branches or pull requests

1 participant