Skip to content

Commit

Permalink
integration for new tks-api
Browse files Browse the repository at this point in the history
  • Loading branch information
ktkfree authored and seungkyua committed Apr 4, 2023
1 parent 233186a commit 9360224
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ bin/
*.out

# Dependency directories (remove the comment below to include it)
# vendor/
vendor/
.idea/
tks-api/

# release file
dist/
Expand Down
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/openinfradev/tks-client

go 1.19
go 1.18

require (
github.com/golang-jwt/jwt/v4 v4.5.0
Expand Down Expand Up @@ -35,4 +35,4 @@ require (

replace github.com/openinfradev/tks-client => ./

replace github.com/openinfradev/tks-api => ../tks-api
replace github.com/openinfradev/tks-api => ./tks-api
6 changes: 6 additions & 0 deletions go.work
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
go 1.18

use (
.
./tks-api
)
1 change: 1 addition & 0 deletions internal/commands/organization-create.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ func NewOrganizationCreateCommand(globalOpts *GlobalOptions) *cobra.Command {
helper.CheckError(err)
body, err := apiClient.Post("organizations", input)
if err != nil {
fmt.Println(err)
return err
}

Expand Down

0 comments on commit 9360224

Please sign in to comment.