Skip to content

Commit 70fcc08

Browse files
committed
fixup
1 parent dc475b4 commit 70fcc08

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

internal/provider/user_data_source.go

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,11 @@ func (d *UserDataSource) Schema(ctx context.Context, req datasource.SchemaReques
5353
// Validation handled by ConfigValidators
5454
Attributes: map[string]schema.Attribute{
5555
"id": schema.StringAttribute{
56-
MarkdownDescription: "The ID of the user to retrieve. This field will be populated if a username is supplied",
56+
MarkdownDescription: "The ID of the user to retrieve. This field will be populated if a username is supplied.",
5757
Optional: true,
5858
},
5959
"username": schema.StringAttribute{
60-
MarkdownDescription: "The username of the user to retrieve. This field will be populated if an ID is supplied",
60+
MarkdownDescription: "The username of the user to retrieve. This field will be populated if an ID is supplied.",
6161
Optional: true,
6262
},
6363
"email": schema.StringAttribute{
@@ -72,18 +72,10 @@ func (d *UserDataSource) Schema(ctx context.Context, req datasource.SchemaReques
7272
MarkdownDescription: "Roles assigned to the user. Valid roles are 'owner', 'template-admin', 'user-admin', and 'auditor'.",
7373
Computed: true,
7474
ElementType: types.StringType,
75-
// Validators: []validator.Set{
76-
// setvalidator.ValueStringsAre(
77-
// stringvalidator.OneOf("owner", "template-admin", "user-admin", "auditor"),
78-
// ),
79-
// },
8075
},
8176
"login_type": schema.StringAttribute{
8277
MarkdownDescription: "Type of login for the user. Valid types are 'none', 'password', 'github', and 'oidc'.",
8378
Computed: true,
84-
// Validators: []validator.String{
85-
// stringvalidator.OneOf("none", "password", "github", "oidc"),
86-
// },
8779
},
8880
"suspended": schema.BoolAttribute{
8981
MarkdownDescription: "Whether the user is suspended.",

0 commit comments

Comments
 (0)