Skip to content

Commit

Permalink
Merge pull request #12870 from liggitt/deprecate-user-groups
Browse files Browse the repository at this point in the history
Merged by openshift-bot
  • Loading branch information
OpenShift Bot authored Feb 9, 2017
2 parents 4b73eba + 487c698 commit e0ccc35
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 7 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion api/swagger-spec/oapi-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -29566,7 +29566,7 @@
"items": {
"type": "string"
},
"description": "Groups are the groups that this user is a member of"
"description": "Groups specifies group names this user is a member of. This field is deprecated and will be removed in a future release. Instead, create a Group object containing the name of this User."
}
}
},
Expand Down
2 changes: 1 addition & 1 deletion api/swagger-spec/openshift-openapi-spec.json
Original file line number Diff line number Diff line change
Expand Up @@ -56446,7 +56446,7 @@
"type": "string"
},
"groups": {
"description": "Groups are the groups that this user is a member of",
"description": "Groups specifies group names this user is a member of. This field is deprecated and will be removed in a future release. Instead, create a Group object containing the name of this User.",
"type": "array",
"items": {
"type": "string"
Expand Down
2 changes: 1 addition & 1 deletion pkg/openapi/zz_generated.openapi.go
Original file line number Diff line number Diff line change
Expand Up @@ -23889,7 +23889,7 @@ var OpenAPIDefinitions *common.OpenAPIDefinitions = &common.OpenAPIDefinitions{
},
"groups": {
SchemaProps: spec.SchemaProps{
Description: "Groups are the groups that this user is a member of",
Description: "Groups specifies group names this user is a member of. This field is deprecated and will be removed in a future release. Instead, create a Group object containing the name of this User.",
Type: []string{"array"},
Items: &spec.SchemaOrArray{
Schema: &spec.Schema{
Expand Down
4 changes: 3 additions & 1 deletion pkg/user/api/v1/generated.proto

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pkg/user/api/v1/swagger_doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ var map_User = map[string]string{
"metadata": "Standard object's metadata.",
"fullName": "FullName is the full name of user",
"identities": "Identities are the identities associated with this user",
"groups": "Groups are the groups that this user is a member of",
"groups": "Groups specifies group names this user is a member of. This field is deprecated and will be removed in a future release. Instead, create a Group object containing the name of this User.",
}

func (User) SwaggerDoc() map[string]string {
Expand Down
4 changes: 3 additions & 1 deletion pkg/user/api/v1/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ type User struct {
// Identities are the identities associated with this user
Identities []string `json:"identities" protobuf:"bytes,3,rep,name=identities"`

// Groups are the groups that this user is a member of
// Groups specifies group names this user is a member of.
// This field is deprecated and will be removed in a future release.
// Instead, create a Group object containing the name of this User.
Groups []string `json:"groups" protobuf:"bytes,4,rep,name=groups"`
}

Expand Down

0 comments on commit e0ccc35

Please sign in to comment.