Support SNI in python requests, and only delete tuf metadata if it

exists
This commit is contained in:
Evan Cordell 2017-05-01 15:51:54 -04:00
parent 02c4d75634
commit b2569ffbb2
6 changed files with 12 additions and 8 deletions

View file

@ -35,7 +35,7 @@ export class RepositorySigningConfigComponent {
'trust_enabled': newState,
};
var errorDisplay = this.ApiService.errorDisplay('Could not just change trust', callback);
var errorDisplay = this.ApiService.errorDisplay('Could not change trust', callback);
this.ApiService.changeRepoTrust(data, params).then((resp) => {
this.repository.trust_enabled = newState;
callback(true);