Skip to content

Commit

Permalink
Merge branch 'develop' into support_dynamic_secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
shileiwill authored Sep 26, 2023
2 parents dfb8cb8 + 0b463be commit 4455839
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -230,10 +230,10 @@ func (h *functionsHandler) processSecretsResponse(response *api.Message, respons
if _, exists := responseData.responses[response.Body.Sender]; exists {
return nil, nil, errors.New("duplicate response")
}
responseData.responses[response.Body.Sender] = response
if response.Body.Method != responseData.request.Body.Method {
return nil, responseData, errors.New("invalid method")
}
responseData.responses[response.Body.Sender] = response
var responsePayload SecretsResponseBase
err := json.Unmarshal(response.Body.Payload, &responsePayload)
if err != nil {
Expand Down

0 comments on commit 4455839

Please sign in to comment.