Skip to content

Commit

Permalink
Merge pull request #236 from ImMin5/feature-service-accont-auto-sync
Browse files Browse the repository at this point in the history
Modify unique rule for service account name
  • Loading branch information
ImMin5 authored Apr 3, 2024
2 parents aa852f2 + 67fe6d1 commit a259a3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/spaceone/identity/model/service_account/database.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

class ServiceAccount(MongoModel):
service_account_id = StringField(max_length=40, generate_id="sa", unique=True)
name = StringField(max_length=255, unique_with=["domain_id", "workspace_id"])
name = StringField(max_length=255, unique_with=["domain_id"])
data = DictField(default=None)
provider = StringField(max_length=40)
options = DictField(default=None)
Expand Down

0 comments on commit a259a3d

Please sign in to comment.