Skip to content

Commit

Permalink
refreshed latest palette-api-go
Browse files Browse the repository at this point in the history
  • Loading branch information
SivaanandM committed Jul 9, 2024
1 parent 3572fa9 commit 59f2b79
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
7 changes: 2 additions & 5 deletions client/cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -294,14 +294,11 @@ func (h *V1Client) DownloadLogs(uid string, logFetcherUid string) (io.Writer, er

func (h *V1Client) UpdatePauseAgentUpgradeSettingCluster(upgradeSetting *models.V1ClusterUpgradeSettingsEntity, clusterUID string, context string) error {

//params := clientV1.NewV1SpectroClustersUIDUpgradesPutParamsWithContext(h.ctx)
//params := clientV1.NewV1SpectroClustersUIDUpgradesPutParams
//params := clientV1.NewV1SpectroClustersUIDUpgradeSettingsParamsWithContext(h.ctx)
//params = params.WithUID(clusterUID).WithBody(upgradeSetting)
//_, err := h.Client.V1SpectroClustersUIDUpgradesPut()
//
//_, err := h.GetClusterClient().V1SpectroClustersUIDUpgradeSettings(params)
//if err != nil {
// return err
//}

return nil
}
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ require (
github.com/go-openapi/strfmt v0.21.7
github.com/pkg/errors v0.9.1
github.com/spectrocloud/gomi v1.14.0
github.com/spectrocloud/palette-api-go v0.2.3
github.com/spectrocloud/palette-api-go v0.2.5
github.com/stretchr/testify v1.8.4
)

Expand Down Expand Up @@ -41,4 +41,4 @@ require (
gopkg.in/yaml.v3 v3.0.1 // indirect
)

replace github.com/spectrocloud/palette-api-go => ../palette-api-go
//replace github.com/spectrocloud/palette-api-go => ../palette-api-go
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -548,6 +548,8 @@ github.com/soheilhy/cmux v0.1.4/go.mod h1:IM3LyeVVIOuxMH7sFAkER9+bJ4dT7Ms6E4xg4k
github.com/spaolacci/murmur3 v0.0.0-20180118202830-f09979ecbc72/go.mod h1:JwIasOWyU6f++ZhiEuf87xNszmSA2myDM2Kzu9HwQUA=
github.com/spectrocloud/gomi v1.14.0 h1:XwOqPssfX1D1tRr1EzUgRULrdncubZG1O/zp/7DuSyU=
github.com/spectrocloud/gomi v1.14.0/go.mod h1:rPAwipFWzjYkTfx44KmQazP1NR2cnHe7HSFZkc63mf4=
github.com/spectrocloud/palette-api-go v0.2.5 h1:x4oJZGtqQ/ijm4j4M0lRZ28TpznHDkOEQQQ6L56UYG8=
github.com/spectrocloud/palette-api-go v0.2.5/go.mod h1:9ebu529ThhudXje/65A2kjdngBN0sf1ei/DDrXgYPQM=
github.com/spf13/afero v1.1.2/go.mod h1:j4pytiNVoe2o6bmDsKpLACNPDBIoEAkihy7loJ1B0CQ=
github.com/spf13/afero v1.2.2/go.mod h1:9ZxEEn6pIJ8Rxe320qSDBk6AsU0r9pR7Q4OcevTdifk=
github.com/spf13/cast v1.2.0/go.mod h1:r2rcYCSwa1IExKTDiTfzaxqT2FNHs8hODu4LnUfgKEg=
Expand Down

0 comments on commit 59f2b79

Please sign in to comment.