Archived
Improve local dev override docs and add read-only example
This commit is contained in:
1 parent
da55eb3c9f
commit
d2ad986558
13 files changed
+388
-186
No files matched your search
@@ -80,7 +80,7 @@ func (d *domainsDataSource) Configure(_ context.Context, req datasource.Configur
|
||||
func (d *domainsDataSource) Read(ctx context.Context, _ datasource.ReadRequest, resp *datasource.ReadResponse) {
|
||||
domains, err := d.clientProvider.client.ListDomains(ctx)
|
||||
if err != nil {
|
||||
resp.Diagnostics.AddError("Unable to list Dynu domains", err.Error())
|
||||
resp.Diagnostics.AddError(diagnosticSummary("Unable to list Dynu domains", err), err.Error())
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user