Skip to content

Commit

Permalink
fix: remove debug output
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Privitere <[email protected]>
  • Loading branch information
cprivitere committed Jan 30, 2024
1 parent a54c487 commit ad90da8
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions internal/init/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -145,9 +145,7 @@ func parseServiceToken(p metal.ProjectsApiService, u metal.UsersApiService) (str
// If only one project comes back, assume it's a project token
// and grab the ProjectID and Org Id from that single project
defaultProjectId = projects[0].GetId()
fmt.Println("Default Project ID: ", defaultProjectId)
defaultOrgId = path.Base(projects[0].Organization.AdditionalProperties["href"].(string))
fmt.Println("Default Org ID: ", defaultOrgId)
case numProj > 1:
// If more than one project comes back it must be a user token.
defaultOrgId, defaultProjectId, err = getDefaultIds(u)
Expand Down

0 comments on commit ad90da8

Please sign in to comment.