Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/lint_golang.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,5 @@ jobs:
- name: golangci-lint
uses: golangci/golangci-lint-action@v8
with:
version: v2.4.0
version: v2.5.0
args: --verbose
8 changes: 2 additions & 6 deletions managedplugin/plugin.go
Original file line number Diff line number Diff line change
Expand Up @@ -246,12 +246,10 @@ func (c *Client) execPlugin(ctx context.Context) error {
return c.connectUsingTCP(ctx, c.config.Path)
case RegistryLocal:
return c.startLocal(ctx, c.config.Path)
case RegistryGithub:
case RegistryGithub, RegistryCloudQuery:
return c.startLocal(ctx, c.LocalPath)
case RegistryDocker:
return c.startDockerPlugin(ctx, c.config.Path)
case RegistryCloudQuery:
return c.startLocal(ctx, c.LocalPath)
default:
return fmt.Errorf("unknown registry %s", c.config.Registry.String())
}
Expand All @@ -260,7 +258,7 @@ func (c *Client) execPlugin(ctx context.Context) error {
func (c *Client) ConnectionString() string {
tgt := c.Conn.Target()
switch c.registry {
case RegistryGrpc:
case RegistryGrpc, RegistryDocker:
return tgt
case RegistryLocal,
RegistryGithub,
Expand All @@ -269,8 +267,6 @@ func (c *Client) ConnectionString() string {
return tgt
}
return "unix://" + tgt
case RegistryDocker:
return tgt
}
return tgt
}
Expand Down
2 changes: 1 addition & 1 deletion tests/progressbar_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package test
package tests

import (
"strings"
Expand Down
Loading