Skip to content

Commit 167640b

Browse files
committed
Fix the linting error
Signed-off-by: Remy Suen <[email protected]>
1 parent eaffb97 commit 167640b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/compose/completion.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ func dependencyCompletionItems(file *ast.File, path []*ast.MappingValueNode, par
217217

218218
func volumeDependencyCompletionItems(file *ast.File, path []*ast.MappingValueNode, params *protocol.CompletionParams, prefixLength protocol.UInteger) []protocol.CompletionItem {
219219
items := namedDependencyCompletionItems(file, path, "volumes", "volumes", params, prefixLength)
220-
for i, _ := range items {
220+
for i := range items {
221221
edit := items[i].TextEdit.(protocol.TextEdit)
222222
items[i].TextEdit = protocol.TextEdit{
223223
NewText: fmt.Sprintf("%v:${1:/container/path}", edit.NewText),

0 commit comments

Comments
 (0)