docker_auth
docker_auth copied to clipboard
Fix breaking changes changes made in 1.12 and leftovers
Fix breaking changes changes made in 1.12 and leftovers:
-
http_timeout: 10becamehttp_timeout: "10s"in the samples, otherwise it will be nanoseconds and impossible to do Google auth etc. Nothing mentioned in the changelog. -
token_dbconfig string becamelevel_token_db.pathin the samples. Nothing mentioned in the changelog. - Fixed config options checks when
level_token_db.pathwas set but docker_auth still complaining it is not. - Replace deprecated ioutil.ReadAll > io.ReadAll