Skip to content

Commit

Permalink
Update internal/plugins/utils.go
Browse files Browse the repository at this point in the history
fix error slice declaration.

Co-authored-by: Stefan Majewsky <[email protected]>
  • Loading branch information
VoigtS and majewsky authored Dec 5, 2024
1 parent a5e846c commit d1b5560
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/plugins/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ func SortMapKeys[M map[K]V, K ~string, V any](mapToSort M) []string {
}

func CheckResourceTopologies(serviceInfo liquid.ServiceInfo) (err error) {
errs := []error{}
var errs []error
resources := serviceInfo.Resources

resourceNames := SortMapKeys(resources)
Expand Down

0 comments on commit d1b5560

Please sign in to comment.