~ knotless Search/
↑↓ move↵ open⇧↵ all results

socialweb.computer/socialweb-computer-kcp

socialweb.computer: a compute market on atproto (kcp)

1 collaborator
0
0
15 lines · 365 B Raw History
package runtime

import clientfeatures "k8s.io/client-go/features"

type listThenWatch struct {
	clientfeatures.Gates
}

func (g listThenWatch) Enabled(key clientfeatures.Feature) bool {
	return key != clientfeatures.WatchListClient && g.Gates.Enabled(key)
}

func init() {
	clientfeatures.ReplaceFeatureGates(listThenWatch{Gates: clientfeatures.FeatureGates()})
}