zalando-stups / pierone-cli

DEPRECATED: Convenient command line client for STUPS' Pier One Docker registry
http://docs.stups.io/en/latest/components/pierone.html#command-line-client
Other
10 stars 13 forks source link

Extra call to Pier One is done on every run (validate_pierone_url) #52

Open hjacobs opened 8 years ago

hjacobs commented 8 years ago

48 introduced URL validation by checking swagger.json --- this is now done on every run of the Pier One CLI.

We should avoid this extra call to validate the URL as it's quite slow (200ms here). Maybe we can cache "known good" Pier One URLs?