feat(feature manager): add RDPSessionProxy to the feature manager

This commit is contained in:
irenarindos committed 2025-09-02 15:13:36 -04:00
1 parent cac944d948
commit bcd2a62890
1 file changed
+7
+7
View File
@@ -25,6 +25,7 @@ const (
PluginDelete
LocalStorageState
StorageBucketCredentialState
RDPSessionProxy
)
var featureMap map[Feature]MetadataConstraint
@@ -97,6 +98,12 @@ func init() {
featureMap[StorageBucketCredentialState] = MetadataConstraint{
Constraints: mustNewConstraints(">= 0.17.0"),
}
// Worker supports RDP session proxy
// TODO: update this to the release version when RDP goes out
featureMap[RDPSessionProxy] = MetadataConstraint{
Constraints: mustNewConstraints(">= 0.19.0"),
}
}
func mustNewConstraints(v string) gvers.Constraints {