mirror of
https://github.com/GlueOps/autoglue.git
synced 2026-02-13 12:50:05 +01:00
feat: adding taints, labels and annotations to terraform provider and ui all implementing the SDK
This commit is contained in:
@@ -77,7 +77,7 @@ func (d *LabelsDataSource) Read(ctx context.Context, req datasource.ReadRequest,
|
||||
return
|
||||
}
|
||||
|
||||
call := d.client.SDK.TaintsAPI.ListTaints(ctx)
|
||||
call := d.client.SDK.LabelsAPI.ListLabels(ctx)
|
||||
items, httpResp, err := call.Execute()
|
||||
if err != nil {
|
||||
resp.Diagnostics.AddError("List labels failed", fmt.Sprintf("%v", httpErr(err, httpResp)))
|
||||
|
||||
Reference in New Issue
Block a user