Commit b5cd2264 authored by Shiyang Wang's avatar Shiyang Wang

update url information to prevent http 304 redirection

parent cbd6b25c
...@@ -35,7 +35,7 @@ COPY gen-swagger-docs.sh build/ ...@@ -35,7 +35,7 @@ COPY gen-swagger-docs.sh build/
# Run the script once to download the dependent java libraries into the image # Run the script once to download the dependent java libraries into the image
RUN mkdir -p /output /swagger-source \ RUN mkdir -p /output /swagger-source \
&& wget https://raw.githubusercontent.com/kubernetes/kubernetes/master/api/swagger-spec/v1.json -O /swagger-source/v1.json \ && wget https://raw.githubusercontent.com/kubernetes/kubernetes/master/api/swagger-spec/v1.json -O /swagger-source/v1.json \
&& wget https://raw.githubusercontent.com/GoogleCloudPlatform/kubernetes/master/pkg/api/v1/register.go -O /register.go \ && wget https://raw.githubusercontent.com/kubernetes/kubernetes/master/pkg/api/v1/register.go -O /register.go \
&& build/gen-swagger-docs.sh v1 \ && build/gen-swagger-docs.sh v1 \
&& rm -rf /output/* /swagger-source/* /register.go && rm -rf /output/* /swagger-source/* /register.go
......
...@@ -21,7 +21,7 @@ import sys ...@@ -21,7 +21,7 @@ import sys
import urllib2 import urllib2
PULLQUERY=("https://api.github.com/repos/" PULLQUERY=("https://api.github.com/repos/"
"GoogleCloudPlatform/kubernetes/pulls/{pull}") "kubernetes/kubernetes/pulls/{pull}")
LOGIN="login" LOGIN="login"
TITLE="title" TITLE="title"
USER="user" USER="user"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment