fix bug for local plugin install

Signed-off-by: yxxhero <aiopsclub@163.com>
pull/9854/head
yxxhero 4 years ago
parent ecf82a882c
commit 3b2ab02d31

@ -34,7 +34,7 @@ func NewLocalInstallerWithPluginsDirectory(source, pluginsDirectory string) (*Lo
return nil, errors.Wrap(err, "unable to get absolute path to plugin")
}
i, err := NewLocalInstaller(source)
i.base = newBase(pluginsDirectory, src)
i.base = newBase(src, pluginsDirectory)
return i, err
}

Loading…
Cancel
Save