Skip to content

Commit

Permalink
airflow: Fix a bug while parsing the endpoint with query params
Browse files Browse the repository at this point in the history
  • Loading branch information
ish-hcc committed Nov 13, 2024
1 parent 3d5fe6d commit 14c39f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/airflow/gusty.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ func parseEndpoint(pathParams map[string]string, queryParams map[string]string,
endpoint = strings.ReplaceAll(endpoint, "{"+key.String()+"}", pathParams[key.String()])
}

queryParamKeys := reflect.ValueOf(pathParams).MapKeys()
queryParamKeys := reflect.ValueOf(queryParams).MapKeys()
if len(queryParamKeys) > 0 {
var queryParamsString string

Expand Down

0 comments on commit 14c39f8

Please sign in to comment.