Skip to content

Commit

Permalink
fix: remove obsolete comment
Browse files Browse the repository at this point in the history
Signed-off-by: Mauren Berti <[email protected]>
  • Loading branch information
Mauren Berti committed Oct 3, 2023
1 parent e2e13ce commit a67ae6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/provider/structure_test_data_source.go
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ func (d *StructureTestDataSource) Read(ctx context.Context, req datasource.ReadR
resp.Diagnostics.AddError("Invalid ref", fmt.Sprintf("Unable to parse ref %s, got error: %s", data.Digest.ValueString(), err))
return
}
// TODO: This should accept a platform, or fail if the ref points to an index.

desc, err := remote.Get(ref, d.popts.withContext(ctx)...)
if err != nil {
resp.Diagnostics.AddError("Unable to fetch image", fmt.Sprintf("Unable to fetch image for ref %s, got error: %s", data.Digest.ValueString(), err))
Expand Down

0 comments on commit a67ae6b

Please sign in to comment.