Skip to content

nerdctl network create using another network id[0:12] will fail #3507

Closed

Description

@apostasie

Description

It does not if creating with id[0:x] where x != 12, which leads to a range of issues listed in other tickets.

There is no reason for that restriction.

Steps to reproduce the issue

No response

Describe the results you received and expected

na

What version of nerdctl are you using?

main

Are you using a variant of nerdctl? (e.g., Rancher Desktop)

None

Host information

No response

Activity

  1. changed the title [-]nerdctl network create using another network id[0:12] will fail[/-] [+]`nerdctl network create` using another network id[0:12] will fail[/+] on Oct 7, 2024
  2. apostasie commented on Oct 7, 2024

    @apostasie
    ContributorAuthor

    Note. This gymnastic is inside NetworkMap from netutil, which does slap in the fullform id and the [0:12] form as a key in the map.

    From a 10 seconds review, the only reason I can think about why this would be useful is for completion.
    We should remove all of that anyhow and fix completion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/unconfirmed-bug-claim

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions