Skip to content

Commit 1896dab

Browse files
committed
incus: fix version output for multiple remotes
Signed-off-by: Abiola Ibrahim <git@abiosoft.com>
1 parent c534ae4 commit 1896dab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

environment/container/incus/incus.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ func (c *incusRuntime) Teardown(ctx context.Context) error {
152152

153153
// Version implements environment.Container.
154154
func (c *incusRuntime) Version(ctx context.Context) string {
155-
version, _ := c.guest.RunOutput("incus", "version")
155+
version, _ := c.host.RunOutput("incus", "version", config.CurrentProfile().ID+":")
156156
return version
157157
}
158158

0 commit comments

Comments
 (0)