Skip to content

Commit

Permalink
incus: fix version output for multiple remotes
Browse files Browse the repository at this point in the history
Signed-off-by: Abiola Ibrahim <[email protected]>
  • Loading branch information
abiosoft committed Oct 30, 2024
1 parent c534ae4 commit 1896dab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion environment/container/incus/incus.go
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ func (c *incusRuntime) Teardown(ctx context.Context) error {

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

Expand Down

0 comments on commit 1896dab

Please sign in to comment.