Regenerate the correct plugins path.

For some reason, if the application to be uploaded is a (remote) URL,
parsing the manifest if deferred (presumably not to block for large
files and/or slow networks) and a dummy 'app-name-placeholder' is used
until later, when the file is unpacked and its manifest read.

Closes-Bug: 1915518
Signed-off-by: Andrei Grosu <andrei.grosu@windriver.com>
Change-Id: Ic3929965ea931b117c3e5aab6f8e3f128bbbeb56
This commit is contained in:
Andrei Grosu 2021-02-12 16:20:37 +02:00
parent 08c14894f3
commit 3f6c732939
1 changed files with 2 additions and 0 deletions

View File

@ -2829,6 +2829,8 @@ class AppOperator(object):
self.sync_imgfile = generate_synced_images_fqpn(self.name, self.version)
self.sync_overrides_dir = generate_synced_helm_overrides_dir(self.name, self.version)
self.patch_dependencies = new_patch_dependencies
self.inst_plugins_dir = os.path.join(self.inst_path, 'plugins')
self.sync_plugins_dir = generate_synced_app_plugins_dir(new_name, new_version)
class DockerHelper(object):