Skip to content

Commit

Permalink
Merge pull request #549 from gdbranco/fix/ocm-3510
Browse files Browse the repository at this point in the history
OCM-3510 | fix: allow clusters to edit ingresses
  • Loading branch information
ciaranRoche authored Oct 11, 2023
2 parents 0d3f4c3 + 4dad47f commit fcc6851
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions cmd/ocm/edit/ingress/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -191,11 +191,6 @@ func run(cmd *cobra.Command, argv []string) error {
return fmt.Errorf("Failed to get cluster '%s': %v", clusterKey, err)
}

if cluster.CloudProvider().ID() != "aws" {
return fmt.Errorf(
"Editing ingresses is not supported for cloud provider '%s'", cluster.CloudProvider().ID())
}

if cluster.State() != cmv1.ClusterStateReady {
return fmt.Errorf("Cluster '%s' is not yet ready", clusterKey)
}
Expand Down

0 comments on commit fcc6851

Please sign in to comment.