Skip to content

Commit

Permalink
golangci-lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mahesh-hpe committed Nov 3, 2023
1 parent a4372d3 commit 22ae309
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions golangci-lint-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ run:
skip-dirs:
- vendor
build-tags: acceptance
modules-download-mode: readonly

linters-settings:
dupl:
Expand Down
2 changes: 1 addition & 1 deletion internal/resources/resource_router_route.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ func routerRouteReadContext(ctx context.Context, rd *schema.ResourceData, meta i
isDeprecated := data.GetBool("is_deprecated")
if isDeprecated {
return diag.Diagnostics{
{
diag.Diagnostic{
Severity: diag.Warning,
Summary: "Parent router is deleted. This resource is deprecated!!!",
},
Expand Down

0 comments on commit 22ae309

Please sign in to comment.