Fix BorgBase repository creation (#66)

This commit is contained in:
Kevin 2021-05-09 03:27:34 +02:00 committed by GitHub
parent 3bd0b3d497
commit c94da43a80
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -181,10 +181,11 @@ def main():
if repo_id is None: if repo_id is None:
# Add new repo using the key # Add new repo using the key
res = add_repo(key_id) res = add_repo(key_id)
repo_exist = False
else: else:
# Edit the repo # Edit the repo
res = edit_repo(repo_id, key_id) res = edit_repo(repo_id, key_id)
repo_exist = True
# Setup information for Ansible # Setup information for Ansible
result = dict( result = dict(