Skip to content

Commit

Permalink
Not used
Browse files Browse the repository at this point in the history
  • Loading branch information
muffato committed Nov 9, 2022
1 parent 20c2219 commit fbff784
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion shpc/client/install.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,4 @@ def main(args, parser, extra, subparser):
cli.settings.default_view,
args.install_recipe,
force=args.force,
container_image=args.container_image,
)
4 changes: 2 additions & 2 deletions shpc/main/modules/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -442,12 +442,12 @@ def install(
logger.info("Module %s was created." % module.tagged_name)
return module.container_path

def view_install(self, view_name, name, force=False, container_image=None):
def view_install(self, view_name, name, force=False):
"""
Install a module in a view. The module must already be installed.
Set "force" to True to allow overwriting existing symlinks.
"""
module = self.get_module(name, container_image=container_image)
module = self.get_module(name)

# A view is a symlink under views_base/$view/$module
if view_name not in self.views:
Expand Down

0 comments on commit fbff784

Please sign in to comment.