Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions cmd/cloud.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ type cloudAPIKeyValidationResponse struct {
WorkspaceName string `json:"workspace_name"`
TenantID string `json:"tenant_id"`
URL string `json:"url"`
IngestURL string `json:"ingest_url"`
State string `json:"state"`
MultiTenant bool `json:"multi_tenant"`
}
Expand Down Expand Up @@ -228,7 +227,6 @@ var CloudProfileAddCmd = &cobra.Command{
Cloud: true,
APIKey: apiKey,
TenantID: result.TenantID,
IngestURL: result.IngestURL,
WorkspaceID: result.WorkspaceID,
WorkspaceName: result.WorkspaceName,
OrchestratorURL: orchestratorURL,
Expand Down
1 change: 0 additions & 1 deletion cmd/login.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@ func cloudProfileFromAPIKey(ctx context.Context, apiKey string) (*config.Profile
Cloud: true,
APIKey: apiKey,
TenantID: result.TenantID,
IngestURL: result.IngestURL,
WorkspaceID: result.WorkspaceID,
WorkspaceName: result.WorkspaceName,
OrchestratorURL: orchestratorURL,
Expand Down
2 changes: 0 additions & 2 deletions cmd/profile.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ type profileOutput struct {
Username string `json:"username,omitempty"`
Cloud bool `json:"cloud"`
TenantID string `json:"tenant_id,omitempty"`
IngestURL string `json:"ingest_url,omitempty"`
WorkspaceID string `json:"workspace_id,omitempty"`
WorkspaceName string `json:"workspace_name,omitempty"`
OrchestratorURL string `json:"orchestrator_url,omitempty"`
Expand All @@ -52,7 +51,6 @@ func safeProfileOutput(profile config.Profile) profileOutput {
Username: profile.Username,
Cloud: profile.Cloud,
TenantID: profile.TenantID,
IngestURL: profile.IngestURL,
WorkspaceID: profile.WorkspaceID,
WorkspaceName: profile.WorkspaceName,
OrchestratorURL: profile.OrchestratorURL,
Expand Down
1 change: 0 additions & 1 deletion pkg/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,6 @@ type Profile struct {
SessionToken string `toml:"session_token,omitempty" json:"session_token,omitempty"`
RefreshToken string `toml:"refresh_token,omitempty" json:"refresh_token,omitempty"`
TenantID string `toml:"tenant_id,omitempty" json:"tenant_id,omitempty"`
IngestURL string `toml:"ingest_url,omitempty" json:"ingest_url,omitempty"`
WorkspaceID string `toml:"workspace_id,omitempty" json:"workspace_id,omitempty"`
WorkspaceName string `toml:"workspace_name,omitempty" json:"workspace_name,omitempty"`
OrchestratorURL string `toml:"orchestrator_url,omitempty" json:"orchestrator_url,omitempty"`
Expand Down
Loading