Fix non-library Dockerhub links

This commit is contained in:
Joseph Schorr 2014-07-17 14:36:06 -04:00
parent 85ce3c6bb2
commit 126371f8a1

View file

@ -4271,7 +4271,7 @@ quayApp.directive('dockerfileCommand', function () {
},
'': function(pieces) {
var rnamespace = pieces.length == 1 ? '_' : pieces[0];
var rnamespace = pieces.length == 1 ? '_' : 'u/' + pieces[0];
var rname = pieces[pieces.length - 1].split(':')[0];
return 'https://registry.hub.docker.com/' + rnamespace + '/' + rname + '/';
}