Skip to content
This repository has been archived by the owner on Jul 12, 2023. It is now read-only.

Commit

Permalink
fix too long lines
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Norberg committed May 9, 2017
1 parent a97fbf0 commit 8be798f
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -182,8 +182,9 @@ public void cleanup(Set<Workflow> workflows) throws IOException {
final String serviceAcountEmail = serviceAccountEmail(secret);

try {
final String jsonKeyName = secret.getMetadata().getAnnotations().get(STYX_WORKFLOW_SA_JSON_KEY_NAME_ANNOTATION);
final String p12KeyName = secret.getMetadata().getAnnotations().get(STYX_WORKFLOW_SA_P12_KEY_NAME_ANNOTATION);
final Map<String, String> annotations = secret.getMetadata().getAnnotations();
final String jsonKeyName = annotations.get(STYX_WORKFLOW_SA_JSON_KEY_NAME_ANNOTATION);
final String p12KeyName = annotations.get(STYX_WORKFLOW_SA_P12_KEY_NAME_ANNOTATION);

LOG.info("[AUDIT] Deleting unused service account key: {}", jsonKeyName);
tryDeleteServiceAccountKey(jsonKeyName);
Expand Down

0 comments on commit 8be798f

Please sign in to comment.