Skip to content

Commit 424dc04

Browse files
Merge pull request #872 from diakovnec/ohss-49752-osd-ctl
[OHSS-49752] Handles transitioning Stable channel EOL for ROSA HCP for even chanels
2 parents 4e14680 + 7f93b84 commit 424dc04

7 files changed

Lines changed: 1777 additions & 0 deletions

File tree

cmd/hcp/cmd.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import (
66
getcpautoscalingstatus "github.com/openshift/osdctl/cmd/hcp/get-cp-autoscaling-status"
77
"github.com/openshift/osdctl/cmd/hcp/mustgather"
88
"github.com/openshift/osdctl/cmd/hcp/status"
9+
"github.com/openshift/osdctl/cmd/hcp/transitiontoeus"
910
"github.com/spf13/cobra"
1011
)
1112

@@ -20,6 +21,7 @@ func NewCmdHCP() *cobra.Command {
2021
hcp.AddCommand(mustgather.NewCmdMustGather())
2122
hcp.AddCommand(forceupgrade.NewCmdForceUpgrade())
2223
hcp.AddCommand(status.NewCmdStatus())
24+
hcp.AddCommand(transitiontoeus.NewCmdTransitionToEUS())
2325

2426
return hcp
2527
}

cmd/hcp/transitiontoeus/cmd.go

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
package transitiontoeus
2+
3+
import (
4+
"github.com/spf13/cobra"
5+
)
6+
7+
// NewCmdTransitionToEUS creates and returns the transition-to-eus command
8+
func NewCmdTransitionToEUS() *cobra.Command {
9+
return newCmdTransitionToEUS()
10+
}

0 commit comments

Comments
 (0)