Create transient config provider, temp dir logic
Allows us to have a new config provider for each setup, with no overlap of the directories used, and automatic cleanup of those directories.
This commit is contained in:
parent
2d0a599aab
commit
db757edcd2
9 changed files with 70 additions and 37 deletions
|
@ -27,7 +27,7 @@ export class DownloadTarballModalComponent {
|
|||
// We need to set the response type to 'blob', to ensure it's never encoded as a string
|
||||
// (string encoded binary data can be difficult to transform with js)
|
||||
// and to make it easier to save (FileSaver expects a blob)
|
||||
this.ApiService.scGetConfigTarball(null, null, null, null, true).then(function(resp) {
|
||||
this.ApiService.scGetConfigTarball(null, null, null, null, 'blob').then(function(resp) {
|
||||
FileSaver.saveAs(resp, 'quay-config.tar.gz');
|
||||
}, errorDisplay);
|
||||
}
|
||||
|
|
Reference in a new issue