Change the filename to .dockercfg
This commit is contained in:
parent
a22c8de38a
commit
4b25d2458b
2 changed files with 2 additions and 2 deletions
|
@ -514,7 +514,7 @@ function RepoAdminCtrl($scope, Restangular, $routeParams, $rootScope) {
|
|||
|
||||
var file = JSON.stringify(config, null, ' ');
|
||||
var blob = new Blob([file]);
|
||||
saveAs(blob, token.friendlyName + "-dockercfg");
|
||||
saveAs(blob, '.dockercfg');
|
||||
};
|
||||
|
||||
$scope.addNewPermission = function(username) {
|
||||
|
|
|
@ -186,7 +186,7 @@
|
|||
<div class="modal-footer">
|
||||
<span class="download-cfg" ng-show="isDownloadSupported()">
|
||||
<i class="icon-download"></i>
|
||||
<a href="javascript:void(0)" ng-click="downloadCfg(shownToken)">Download dockercfg file</a>
|
||||
<a href="javascript:void(0)" ng-click="downloadCfg(shownToken)">Download .dockercfg file</a>
|
||||
</span>
|
||||
<div id="clipboardCopied" style="display: none">
|
||||
Copied to clipboard
|
||||
|
|
Reference in a new issue