From d385e284b9ad29fe32d678d199a3736e7d8190ed Mon Sep 17 00:00:00 2001 From: Kanwar Saad Bin Liaqat Date: Mon, 9 Sep 2019 00:46:38 +0300 Subject: [PATCH] package name fix --- Makefile | 2 +- client/git_push.sh | 4 ++-- client/go.mod | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index 4441feb..daac3f0 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ .PHONY: code-gen code-gen: rm -rf redfish_client - openapi-generator generate -i ./spec/openapi.yaml -g go --package-name "client" -o client/ + openapi-generator generate -i ./spec/openapi.yaml -g go --package-name "client" --git-repo-id go-redfish/client --git-user-id nordix-airship -o client/ .PHONY: deps deps: diff --git a/client/git_push.sh b/client/git_push.sh index 8442b80..21db6b1 100644 --- a/client/git_push.sh +++ b/client/git_push.sh @@ -8,12 +8,12 @@ git_repo_id=$2 release_note=$3 if [ "$git_user_id" = "" ]; then - git_user_id="GIT_USER_ID" + git_user_id="nordix-airship" echo "[INFO] No command line input provided. Set \$git_user_id to $git_user_id" fi if [ "$git_repo_id" = "" ]; then - git_repo_id="GIT_REPO_ID" + git_repo_id="go-redfish/client" echo "[INFO] No command line input provided. Set \$git_repo_id to $git_repo_id" fi diff --git a/client/go.mod b/client/go.mod index 199809e..6cce9fd 100644 --- a/client/go.mod +++ b/client/go.mod @@ -1,6 +1,6 @@ -module github.com/GIT_USER_ID/GIT_REPO_ID +module github.com/nordix-airship/go-redfish/client require ( - github.com/antihax/optional v0.0.0-20180406194304-ca021399b1a6 - golang.org/x/oauth2 v0.0.0-20190402181905-9f3314589c9a + github.com/antihax/optional v0.0.0-20180406194304-ca021399b1a6 + golang.org/x/oauth2 v0.0.0-20190402181905-9f3314589c9a )