Moving constant
@@ -71,6 +71,8 @@ const (
subscriptionName = "testsubscription"
testNS = "testnamespace"
subscriptionGeneration = 1
+
+ finalizerName = "subscriptions.messaging.knative.dev"
)
// subscriptions have: channel -> SUB -> subscriber -viaSub-> reply
@@ -1256,10 +1258,6 @@ func patchSubscribers(namespace, name string, subscribers []eventingduck.Subscri
return action
}
-const (
- finalizerName = "subscriptions.messaging.knative.dev"
-)
-
func patchFinalizers(namespace, name string) clientgotesting.PatchActionImpl {
action := clientgotesting.PatchActionImpl{}
action.Name = name
