Skip to content

Commit

Permalink
feat(cluster): Fix golangci-lint formatting matches
Browse files Browse the repository at this point in the history
bpgGH-886

Signed-off-by: Sven Greb <development@svengreb.de>
  • Loading branch information
svengreb committed Apr 18, 2024
1 parent 9fc2a08 commit 4be4e46
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion fwprovider/hardwaremapping/resource_pci.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ func (r *resourcePCI) read(ctx context.Context, hm *modelPCI) (bool, diag.Diagno

hmName := hm.Name.ValueString()
data, err := r.client.Get(ctx, proxmoxtypes.TypePCI, hmName)

if err != nil {
if strings.Contains(err.Error(), "no such resource") {
diags.AddError("Could not read PCI hardware mapping", err.Error())
Expand Down
1 change: 0 additions & 1 deletion fwprovider/hardwaremapping/resource_usb.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ func (r *resourceUSB) read(ctx context.Context, hm *modelUSB) (bool, diag.Diagno

hmName := hm.Name.ValueString()
data, err := r.client.Get(ctx, proxmoxtypes.TypeUSB, hmName)

if err != nil {
if strings.Contains(err.Error(), "no such resource") {
diags.AddError("Could not read USB hardware mapping", err.Error())
Expand Down

0 comments on commit 4be4e46

Please sign in to comment.