File tree 1 file changed +4
-0
lines changed
1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change 6
6
7
7
multicluster "github.com/oam-dev/cluster-gateway/pkg/apis/cluster/transport"
8
8
"github.com/oam-dev/cluster-gateway/pkg/apis/cluster/v1alpha1"
9
+ "github.com/oam-dev/cluster-gateway/pkg/common"
9
10
"github.com/oam-dev/cluster-gateway/pkg/event"
10
11
"github.com/oam-dev/cluster-gateway/pkg/generated/clientset/versioned"
11
12
"k8s.io/apimachinery/pkg/api/meta"
@@ -50,6 +51,9 @@ func SetupClusterGatewayHealthProberWithManager(mgr ctrl.Manager) error {
50
51
}
51
52
52
53
func (c * ClusterGatewayHealthProber ) Reconcile (ctx context.Context , request reconcile.Request ) (reconcile.Result , error ) {
54
+ if request .Name != common .AddonName {
55
+ return reconcile.Result {}, nil
56
+ }
53
57
clusterName := request .Namespace
54
58
gw , err := c .gatewayClient .ClusterV1alpha1 ().
55
59
ClusterGateways ().
You can’t perform that action at this time.
0 commit comments