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

shared/cliconfig: Don't pass scheme to OCI creds helper

Closes #2876

Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
This commit is contained in:
Stéphane Graber
2026-02-04 16:24:23 +01:00
parent cbeffb0083
commit 36ad2cbcbc

View File

@@ -215,7 +215,7 @@ func (c *Config) GetImageServer(name string) (incus.ImageServer, error) {
err = subprocess.RunCommandWithFds(
context.TODO(),
strings.NewReader(fmt.Sprintf("%s://%s", u.Scheme, u.Host)),
strings.NewReader(u.Host),
&stdout,
remote.CredHelper,
"get")