Skip to content

Commit

Permalink
Fix field names in governance checks (#3719)
Browse files Browse the repository at this point in the history
  • Loading branch information
Christoph M. Wintersteiger authored Mar 29, 2022
1 parent 5140e0f commit 8a9bb08
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions samples/constitutions/default/actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -579,15 +579,21 @@ const actions = new Map([
"string",
"next service identity (PEM certificate)"
);
checkX509CertBundle(args.next_service_identity, "cert");
checkX509CertBundle(
args.next_service_identity,
"next_service_identity"
);

checkType(
args.previous_service_identity,
"string?",
"previous service identity (PEM certificate)"
);
if (args.previous_service_identity !== undefined) {
checkX509CertBundle(args.previous_service_identity, "cert");
checkX509CertBundle(
args.previous_service_identity,
"previous_service_identity"
);
}
},

Expand Down

0 comments on commit 8a9bb08

Please sign in to comment.