Skip to content

Commit

Permalink
fix golint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
ms-henglu committed Nov 15, 2024
1 parent 1a43063 commit f17f8eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/langserver/handlers/tfschema/candidates.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ func valueCandidates(values []string, r lsp.Range, isOrdered bool) []lsp.Complet
func typeCandidates(prefix *string, r lsp.Range) []lsp.CompletionItem {
candidates := make([]lsp.CompletionItem, 0)
if prefix == nil || !strings.Contains(*prefix, "@") {
for resourceType, _ := range azure.GetAzureSchema().Resources {
for resourceType := range azure.GetAzureSchema().Resources {
candidates = append(candidates, lsp.CompletionItem{
Label: fmt.Sprintf(`"%s"`, resourceType),
Kind: lsp.ValueCompletion,
Expand Down

0 comments on commit f17f8eb

Please sign in to comment.