feat: add SBC state to feature manager (#4971)

This commit is contained in:
Elim Tsiagbey authored and GitHub committed 2024-07-26 16:08:17 -04:00
1 parent 126c4f55a0
commit b0662dbf09
1 file changed
+6
+6
View File
@@ -24,6 +24,7 @@ const (
SupportIdInGrants
PluginDelete
LocalStorageState
StorageBucketCredentialState
)
var featureMap map[Feature]MetadataConstraint
@@ -91,6 +92,11 @@ func init() {
featureMap[LocalStorageState] = MetadataConstraint{
Constraints: mustNewConstraints(">= 0.16.0"),
}
// Worker supports reporting the state of storage bucket credentials
featureMap[StorageBucketCredentialState] = MetadataConstraint{
Constraints: mustNewConstraints(">= 0.17.0"),
}
}
func mustNewConstraints(v string) gvers.Constraints {