Skip to content
This repository has been archived by the owner on Feb 8, 2021. It is now read-only.

Commit

Permalink
[master] fix --region
Browse files Browse the repository at this point in the history
  • Loading branch information
Jimmy-Xu committed Apr 10, 2018
1 parent 91f3ced commit 71a8cd5
Show file tree
Hide file tree
Showing 5 changed files with 127 additions and 118 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -347,11 +347,17 @@ $ pi get fips
FIP NAME CREATEDAT
35.192.x.x 2018-04-08T15:27:49+00:00
35.188.x.x 2018-04-08T15:31:08+00:00
35.189.x.x 2018-04-08T15:31:10+00:00
$ pi name fip 35.192.x.x --name=test
fip 35.192.x.x renamed to test
$ pi get fips 35.192.x.x
FIP NAME CREATEDAT PODS
35.192.x.x 2018-04-08T15:27:49+00:00
$ pi get fips 35.192.x.x -o json
{
"fip": "35.192.x.x",
Expand Down
4 changes: 3 additions & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@
# change k8s.io/client-go to github.com/hyperhq/client-go
#########################################################

export GOPATH=`pwd`/vendor:$GOPATH
base_dir=$(cd $(dirname $0);pwd)
GOPATH=$(cd ../../../..;pwd)
export GOPATH=$base_dir/vendor:$GOPATH
go build -ldflags "-w" cmd/pi/pi.go

[ $? -eq 0 ] && echo "build pi done" || echo "build pi error"

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 71a8cd5

Please sign in to comment.