Change the .dockercfg generator to not include the protocol or /v1

This commit is contained in:
Joseph Schorr 2014-09-17 18:20:44 -04:00
parent 8b5e7621d2
commit f93dd63e81

View file

@ -2909,7 +2909,7 @@ quayApp.directive('dockerAuthDialog', function (Config) {
$scope.downloadCfg = function() {
var auth = $.base64.encode($scope.username + ":" + $scope.token);
config = {}
config[Config.getUrl('/v1/')] = {
config[Config['SERVER_HOSTNAME']] = {
"auth": auth,
"email": ""
};