Skip to content

local registration fails #534

Description

@nh13

when using latch register --no-remote, we get:

  --Traceback (most recent call last)--
  /opt/hostedtoolcache/Python/3.10.16/x64/lib/python3.10/site-packages/latch_cli/services/register/register.py:483 in register
    481| 
    482|             td: str = stack.enter_context(
  > 483|                 MaybeRemoteDir(remote_dir_client, ctx.remote_conn_info)
    484|             )
    485|             _build_and_serialize(
    486|                 ctx,
    487|                 ctx.default_container.image_name,
  
  AttributeError: '_CentromereCtx' object has no attribute 'remote_conn_info'

which is this line. As we can see, remote_conn_info is only available if registering remotely.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions