1
0
mirror of https://github.com/lxc/incus.git synced 2026-02-05 09:46:19 +01:00

cmd/incus-user: Update for client change

Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
This commit is contained in:
Stéphane Graber
2023-08-14 16:12:00 -04:00
parent 613bde4c61
commit 0ba51f6e68
2 changed files with 2 additions and 2 deletions

View File

@@ -172,7 +172,7 @@ func lxdSetupUser(uid uint32) error {
}
// Connect to LXD.
client, err := incus.ConnectLXDUnix("", nil)
client, err := incus.ConnectIncusUnix("", nil)
if err != nil {
return fmt.Errorf("Unable to connect to LXD: %w", err)
}

View File

@@ -39,7 +39,7 @@ func (c *cmdDaemon) Run(cmd *cobra.Command, args []string) error {
// Connect to LXD.
log.Debug("Connecting to LXD")
client, err := incus.ConnectLXDUnix("", nil)
client, err := incus.ConnectIncusUnix("", nil)
if err != nil {
return fmt.Errorf("Unable to connect to LXD: %w", err)
}