feat(feature manager): add RDPSessionProxy to the feature manager
This commit is contained in:
1 parent
cac944d948
commit
bcd2a62890
1 file changed
+7
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user