Skip to content

Commit

Permalink
client-python: fix swagger-cli url
Browse files Browse the repository at this point in the history
As of Jan 15, 2020, maven-cenrtal no longer supports HTTP and requires
HTTPS. Replaced the URL to maven's repo with a valid cert.

For more see: https://support.sonatype.com/hc/en-us/articles/360041287334

Signed-off-by: Daniel Belenky <dbelenky@redhat.com>
  • Loading branch information
Daniel Belenky authored and kubevirt-bot committed Jan 16, 2020
1 parent 496e75b commit a7efcf3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hack/gen-client-python/generate.sh
Expand Up @@ -6,7 +6,7 @@ set -o errexit
set -o nounset
set -o pipefail

SWAGGER_CODEGEN_CLI_SRC=http://central.maven.org/maven2/io/swagger/swagger-codegen-cli/2.2.3/swagger-codegen-cli-2.2.3.jar
SWAGGER_CODEGEN_CLI_SRC=https://repo1.maven.org/maven2/io/swagger/swagger-codegen-cli/2.2.3/swagger-codegen-cli-2.2.3.jar
SWAGGER_CODEGEN_CLI="/tmp/swagger-codegen-cli.jar"
KUBEVIRT_SPEC="${KUBEVIRT_DIR}/api/openapi-spec/swagger.json"
CODEGEN_CONFIG_SRC="${KUBEVIRT_DIR}/hack/gen-client-python/swagger-codegen-config.json.in"
Expand Down

0 comments on commit a7efcf3

Please sign in to comment.