Skip to content
Snippets Groups Projects
Commit b9be8293 authored by Alex Ellis's avatar Alex Ellis
Browse files

Fix querystring passing


Signed-off-by: default avatarAlex Ellis <alexellis2@gmail.com>
parent d9d73dff
No related branches found
No related tags found
No related merge requests found
FROM alpine:latest FROM alpine:latest
ADD https://github.com/alexellis/faas/releases/download/0.5.6-alpha/fwatchdog /usr/bin ADD https://github.com/alexellis/faas/releases/download/0.6.5/fwatchdog /usr/bin
# COPY ./fwatchdog /usr/bin/ # COPY ./fwatchdog /usr/bin/
RUN chmod +x /usr/bin/fwatchdog RUN chmod +x /usr/bin/fwatchdog
......
...@@ -200,8 +200,9 @@ func getAdditionalEnvs(config *WatchdogConfig, r *http.Request, method string) [ ...@@ -200,8 +200,9 @@ func getAdditionalEnvs(config *WatchdogConfig, r *http.Request, method string) [
envs = append(envs, fmt.Sprintf("Http_Method=%s", method)) envs = append(envs, fmt.Sprintf("Http_Method=%s", method))
if len(r.URL.RawQuery) > 0 { log.Println(r.URL.String())
envs = append(envs, fmt.Sprintf("Http_Query=%s", r.URL.RawQuery)) if len(r.URL.String()) > 0 {
envs = append(envs, fmt.Sprintf("Http_Query=%s", r.URL.String()))
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment