Skip to content

Commit

Permalink
Adding a new test case PartialBackupSuccessWithPxVolumes (#2621)
Browse files Browse the repository at this point in the history
  • Loading branch information
mkoppal-px authored and snigdha-px committed Jul 1, 2024
1 parent ac940e6 commit de3bb43
Show file tree
Hide file tree
Showing 3 changed files with 272 additions and 277 deletions.
6 changes: 3 additions & 3 deletions drivers/scheduler/rke/rke.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ func (r *Rancher) GetRancherClusterParametersValue() (*RancherClusterParameters,
// TODO Rancher URL for cloud cluster will not be fetched from master node IP
masterNodeName := node.GetMasterNodes()[0].Name
log.Infof("The master node here is %v", masterNodeName)
endpoint := "https://" + masterNodeName + "/v3"
endpoint := "https://ip-10-13-232-53.pwx.purestorage.com/v3"
rkeParameters.Endpoint = endpoint
rkeToken = os.Getenv("SOURCE_RKE_TOKEN")
if rkeToken == "" {
Expand All @@ -97,8 +97,8 @@ func (r *Rancher) UpdateRancherClient(clusterName string) error {
var rkeParametersValue RancherClusterParameters
var err error
var rkeToken string
masterNodeName := node.GetMasterNodes()[0].Name
endpoint := "https://" + masterNodeName + "/v3"

endpoint := "https://ip-10-13-232-53.pwx.purestorage.com/v3"
if clusterName == "destination-config" {
rkeToken = os.Getenv("DESTINATION_RKE_TOKEN")
if rkeToken == "" {
Expand Down
Loading

0 comments on commit de3bb43

Please sign in to comment.