Skip to content

Commit

Permalink
use updated response struct
Browse files Browse the repository at this point in the history
  • Loading branch information
emosbaugh committed Nov 14, 2024
1 parent ece7cc8 commit f373c13
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions pkg/cmd/vendorapp.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,12 +79,16 @@ func maybePromptForAppUpdate(c *cli.Context, prompt prompts.Prompt, license *kot
}

type apiChannelRelease struct {
ChannelSequence int64 `json:"channelSequence"`
ReleaseSequence int64 `json:"releaseSequence"`
VersionLabel string `json:"versionLabel"`
IsRequired bool `json:"isRequired"`
CreatedAt string `json:"createdAt"`
ReleaseNotes string `json:"releaseNotes"`
ChannelID string `json:"channelId"`
ChannelSequence int64 `json:"channelSequence"`
ReleaseSequence int64 `json:"releaseSequence"`
VersionLabel string `json:"versionLabel"`
IsRequired bool `json:"isRequired"`
SemVer string `json:"semver,omitempty"`
CreatedAt string `json:"createdAt"`
ReleaseNotes string `json:"releaseNotes"`
ReplicatedRegistryDomain string `json:"replicatedRegistryDomain"`
ReplicatedProxyDomain string `json:"replicatedProxyDomain"`
}

func getCurrentAppChannelRelease(ctx context.Context, license *kotsv1beta1.License, channelID string) (*apiChannelRelease, error) {
Expand Down

0 comments on commit f373c13

Please sign in to comment.