feat: add SBC state to feature manager (#4971)
This commit is contained in:
1 parent
126c4f55a0
commit
b0662dbf09
1 file changed
+6
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user