Skip to content

Commit

Permalink
remove OldTargetID
Browse files Browse the repository at this point in the history
  • Loading branch information
mmarchetti committed Dec 4, 2023
1 parent d6a20de commit f194923
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions internal/state/state.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import (
"github.com/rstudio/connect-client/internal/accounts"
"github.com/rstudio/connect-client/internal/config"
"github.com/rstudio/connect-client/internal/deployment"
"github.com/rstudio/connect-client/internal/types"
"github.com/rstudio/connect-client/internal/util"
)

Expand Down Expand Up @@ -135,17 +134,6 @@ func New(path util.Path, accountName, configName, targetID string, accountList a
}, nil
}

type OldTargetID struct {
ServerType accounts.ServerType `json:"server_type"` // Which type of API this server provides
ServerURL string `json:"server_url"` // Server URL
ContentId types.ContentID `json:"content_id" help:"Unique ID of content item to update."` // Content ID (GUID for Connect)
ContentName types.ContentName `json:"content_name" help:"Name of content item to update."` // Content Name (unique per user)

// These fields are informational and don't affect future deployments.
Username string `json:"username,omitempty"` // Username, if known
BundleId types.NullBundleID `json:"bundle_id"` // Bundle ID that was deployed
}

type LocalDeploymentID string

func NewLocalID() (LocalDeploymentID, error) {
Expand Down

0 comments on commit f194923

Please sign in to comment.