Skip to content

Commit ad82f7f

Browse files
committed
tidy
1 parent 9b5e176 commit ad82f7f

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

resource/list.go

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,13 @@ type ListResult struct {
120120
// a warning diagnostic.
121121
Resource *tfsdk.ResourceObject
122122

123+
// DisplayName is a provider-defined human-readable description of the
124+
// managed resource instance, intended for CLI and browser UIs.
123125
DisplayName string
126+
127+
// Diagnostics report errors or warnings related to listing the
128+
// resource. An empty slice indicates a successful operation with no
129+
// warnings or errors generated.
124130
Diagnostics diag.Diagnostics
125131
}
126132

@@ -142,8 +148,8 @@ type ValidateListConfigRequest struct {
142148
// supplied as an argument to the Resource ValidateListConfig receiver method
143149
// or automatically passed through to each ListConfigValidator.
144150
type ValidateListConfigResponse struct {
145-
// Diagnostics report errors or warnings related to validating the resource
146-
// configuration. An empty slice indicates success, with no warnings or
147-
// errors generated.
151+
// Diagnostics report errors or warnings related to validating the list
152+
// configuration. An empty slice indicates success, with no warnings
153+
// or errors generated.
148154
Diagnostics diag.Diagnostics
149155
}

0 commit comments

Comments
 (0)