Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit2e40dab

Browse files
style: run go fmt to fix formatting
Fix formatting issues found by go fmt, specifically the closing braceplacement in the ImportState function.Co-authored-by: angrycub <464492+angrycub@users.noreply.github.com>
1 parent9ecc2e1 commit2e40dab

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎internal/provider/user_resource.go‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -450,4 +450,5 @@ func (r *UserResource) ImportState(ctx context.Context, req resource.ImportState
450450
resp.Diagnostics.AddError("Client Error","Invalid import ID format, expected a single UUID or a valid username")
451451
return
452452
}
453-
resp.Diagnostics.Append(resp.State.SetAttribute(ctx,path.Root("id"),user.ID.String())...)}
453+
resp.Diagnostics.Append(resp.State.SetAttribute(ctx,path.Root("id"),user.ID.String())...)
454+
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp