Skip to content

Commit

Permalink
controlplane get has been changed
Browse files Browse the repository at this point in the history
  • Loading branch information
burakvuraldatasance committed Feb 4, 2024
1 parent cf1c217 commit 01ba505
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions internal/get/controllers.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,12 +81,16 @@ func generateControllerOutput(namespace string) (table [][]string, err error) {
controllers := ns.GetControllers()


endpoint, err := controlPlane.GetEndpoint()
controlPlaneForUser, err := ns.GetControlPlane()
if err != nil {
return nil, err
}
endpoint, err := controlPlaneForUser.GetEndpoint()

Check failure on line 88 in internal/get/controllers.go

View workflow job for this annotation

GitHub Actions / Build

endpoint declared but not used (typecheck)
if err != nil {
return nil, err
}

user := controlPlane.GetUser()
user := controlPlaneForUser.GetUser()

// Generate table and headers
table = make([][]string, len(controllers)+1)
Expand Down

0 comments on commit 01ba505

Please sign in to comment.