Skip to content

Commit

Permalink
Merge pull request #258 from perfectsense/bugfix/security-policy-edge…
Browse files Browse the repository at this point in the history
…-url

Bugfix: Update security policy edge url to use getSelfLink
  • Loading branch information
deepanjan90 authored Jul 31, 2023
2 parents 5072e34 + ff6d2aa commit c383bee
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ protected void doCreate(GyroUI ui, State state) throws Exception {
}

if (getSecurityPolicy() != null) {
builder.setEdgeSecurityPolicy(getSecurityPolicy().getName());
builder.setEdgeSecurityPolicy(getSecurityPolicy().getSelfLink());
}

Operation operation = client.insertCallable().call(InsertBackendBucketRequest.newBuilder()
Expand Down

0 comments on commit c383bee

Please sign in to comment.