Skip to content

Commit a4fe97a

Browse files
authored
Merge pull request #253 from ImMin5/feature-service-accont-auto-sync
Fix job status typo error
2 parents 6ba5fa3 + 9ac554b commit a4fe97a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/spaceone/identity/model/job/response.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
__all__ = ["JobResponse", "JobsResponse"]
88

99
ResourceGroup = Literal["DOMAIN", "WORKSPACE"]
10-
Status = Literal["PENDING", "IN_PROGRESS", "FAILURE", "SUCCESS", "CANCELD"]
10+
Status = Literal["PENDING", "IN_PROGRESS", "FAILURE", "SUCCESS", "CANCELED"]
1111

1212

1313
class JobResponse(BaseModel):

src/spaceone/identity/model/project_group/database.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class ProjectGroup(MongoModel):
1414
workspace_id = StringField(max_length=40)
1515
domain_id = StringField(max_length=40)
1616
created_at = DateTimeField(auto_now_add=True)
17-
last_accessed_at = DateTimeField(default=None, null=True)
17+
last_synced_at = DateTimeField(default=None, null=True)
1818

1919
meta = {
2020
"updatable_fields": [
@@ -24,7 +24,7 @@ class ProjectGroup(MongoModel):
2424
"is_managed",
2525
"trusted_account_id",
2626
"parent_group_id",
27-
"last_accessed_at",
27+
"last_synced_at",
2828
],
2929
"minimal_fields": [
3030
"project_group_id",

0 commit comments

Comments
 (0)