Skip to content

Commit

Permalink
Break early in retry logic
Browse files Browse the repository at this point in the history
  • Loading branch information
quexten committed Jan 6, 2025
1 parent 7c6b44b commit d39672e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libs/angular/src/vault/components/add-edit.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -828,7 +828,9 @@ export class AddEditComponent implements OnInit, OnDestroy {
});
return;

Check warning on line 829 in libs/angular/src/vault/components/add-edit.component.ts

View check run for this annotation

Codecov / codecov/patch

libs/angular/src/vault/components/add-edit.component.ts#L829

Added line #L829 was not covered by tests
}
continue;

Check warning on line 831 in libs/angular/src/vault/components/add-edit.component.ts

View check run for this annotation

Codecov / codecov/patch

libs/angular/src/vault/components/add-edit.component.ts#L831

Added line #L831 was not covered by tests
}
break;

Check warning on line 833 in libs/angular/src/vault/components/add-edit.component.ts

View check run for this annotation

Codecov / codecov/patch

libs/angular/src/vault/components/add-edit.component.ts#L833

Added line #L833 was not covered by tests
}

this.cipher.sshKey.privateKey = parsedKey.private_key;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,9 @@ export class SshKeySectionComponent implements OnInit {
});
return;

Check warning on line 122 in libs/vault/src/cipher-form/components/sshkey-section/sshkey-section.component.ts

View check run for this annotation

Codecov / codecov/patch

libs/vault/src/cipher-form/components/sshkey-section/sshkey-section.component.ts#L122

Added line #L122 was not covered by tests
}
continue;

Check warning on line 124 in libs/vault/src/cipher-form/components/sshkey-section/sshkey-section.component.ts

View check run for this annotation

Codecov / codecov/patch

libs/vault/src/cipher-form/components/sshkey-section/sshkey-section.component.ts#L124

Added line #L124 was not covered by tests
}
break;

Check warning on line 126 in libs/vault/src/cipher-form/components/sshkey-section/sshkey-section.component.ts

View check run for this annotation

Codecov / codecov/patch

libs/vault/src/cipher-form/components/sshkey-section/sshkey-section.component.ts#L126

Added line #L126 was not covered by tests
}

this.sshKeyForm.setValue({

Check warning on line 129 in libs/vault/src/cipher-form/components/sshkey-section/sshkey-section.component.ts

View check run for this annotation

Codecov / codecov/patch

libs/vault/src/cipher-form/components/sshkey-section/sshkey-section.component.ts#L129

Added line #L129 was not covered by tests
Expand Down

0 comments on commit d39672e

Please sign in to comment.