Skip to content

Commit 49a928d

Browse files
authored
Remove project_name field (#1)
1 parent 53e8437 commit 49a928d

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

service/serviceusers/schemas.go

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,9 @@ type ServiceUser struct {
4444
}
4545

4646
type Role struct {
47-
ProjectID string `json:"project_id,omitempty"`
48-
ProjectName string `json:"project_name,omitempty"`
49-
RoleName RoleName `json:"role_name"`
50-
Scope Scope `json:"scope"`
47+
ProjectID string `json:"project_id,omitempty"`
48+
RoleName RoleName `json:"role_name"`
49+
Scope Scope `json:"scope"`
5150
}
5251

5352
// CreateRequest is used to set options for Create method.

service/users/schemas.go

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,9 @@ type Federation struct {
5151
}
5252

5353
type Role struct {
54-
ProjectID string `json:"project_id,omitempty"`
55-
ProjectName string `json:"project_name,omitempty"`
56-
RoleName RoleName `json:"role_name"`
57-
Scope Scope `json:"scope"`
54+
ProjectID string `json:"project_id,omitempty"`
55+
RoleName RoleName `json:"role_name"`
56+
Scope Scope `json:"scope"`
5857
}
5958

6059
// CreateRequest is used to set options for Create method.

0 commit comments

Comments
 (0)