Fix NPE
This commit is contained in:
parent
8910c6ff01
commit
6c60e078fc
1 changed files with 1 additions and 0 deletions
|
@ -2465,6 +2465,7 @@ quayApp.directive('dockerAuthDialog', function (Config) {
|
|||
controller: function($scope, $element) {
|
||||
var updateCommand = function() {
|
||||
var escape = function(v) {
|
||||
if (!v) { return v; }
|
||||
return v.replace('$', '\\$');
|
||||
};
|
||||
$scope.command = 'docker login -e="." -u="' + escape($scope.username) +
|
||||
|
|
Reference in a new issue