Skip to content

daemon: Daemon.rmLink: don't fuzzy-match container when using ID#49368

Merged
thaJeztah merged 1 commit intomoby:masterfrom
thaJeztah:rmlink_nofuzzy
Jan 30, 2025
Merged

daemon: Daemon.rmLink: don't fuzzy-match container when using ID#49368
thaJeztah merged 1 commit intomoby:masterfrom
thaJeztah:rmlink_nofuzzy

Conversation

@thaJeztah
Copy link
Copy Markdown
Member

rmLink already looked up the parent container's ID, so we should not use daemon.GetContainer to resolve the container, as that performs fuzzy matching (name, ID-prefix, or ID).

- Description for the changelog

- A picture of a cute animal (not mandatory but encouraged)

rmLink already looked up the parent container's ID, so we should not use
daemon.GetContainer to resolve the container, as that performs fuzzy
matching (name, ID-prefix, or ID).

Signed-off-by: Sebastiaan van Stijn <[email protected]>
@thaJeztah thaJeztah added this to the 28.0.0 milestone Jan 30, 2025
@thaJeztah thaJeztah self-assigned this Jan 30, 2025
@thaJeztah thaJeztah merged commit a5db428 into moby:master Jan 30, 2025
@thaJeztah thaJeztah deleted the rmlink_nofuzzy branch January 30, 2025 18:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants