Skip to content

Commit cd96be8

Browse files
authored
fix: services constraints for existing plugins (#114)
1 parent bc21b03 commit cd96be8

6 files changed

Lines changed: 6 additions & 6 deletions

File tree

service/wrapper/certificate_issuer.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ func (repo *certificateIssuerRepository) Binder() any {
1414
}
1515

1616
func (repo *certificateIssuerRepository) Constraints() api.Constraints {
17-
return api.ExactlyOne()
17+
return api.MaybeOne()
1818
}
1919

2020
func (repo *certificateIssuerRepository) Versions() []api.Version {

service/wrapper/identity_management.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ func (repo *identityManagementRepository) Binder() any {
1414
}
1515

1616
func (repo *identityManagementRepository) Constraints() api.Constraints {
17-
return api.ExactlyOne()
17+
return api.MaybeOne()
1818
}
1919

2020
func (repo *identityManagementRepository) Versions() []api.Version {

service/wrapper/key_management.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ func (repo *keyManagementRepository) Binder() any {
1414
}
1515

1616
func (repo *keyManagementRepository) Constraints() api.Constraints {
17-
return api.ExactlyOne()
17+
return api.ZeroOrMore()
1818
}
1919

2020
func (repo *keyManagementRepository) Versions() []api.Version {

service/wrapper/keystore_management.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ func (repo *keystoreManagementRepository) Binder() any {
1414
}
1515

1616
func (repo *keystoreManagementRepository) Constraints() api.Constraints {
17-
return api.ExactlyOne()
17+
return api.ZeroOrMore()
1818
}
1919

2020
func (repo *keystoreManagementRepository) Versions() []api.Version {

service/wrapper/notification.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ func (repo *notificationRepository) Binder() any {
1414
}
1515

1616
func (repo *notificationRepository) Constraints() api.Constraints {
17-
return api.ExactlyOne()
17+
return api.MaybeOne()
1818
}
1919

2020
func (repo *notificationRepository) Versions() []api.Version {

service/wrapper/system_information.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ func (repo *systemInformationRepository) Binder() any {
1414
}
1515

1616
func (repo *systemInformationRepository) Constraints() api.Constraints {
17-
return api.ExactlyOne()
17+
return api.MaybeOne()
1818
}
1919

2020
func (repo *systemInformationRepository) Versions() []api.Version {

0 commit comments

Comments
 (0)