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:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user