Skip to content
This repository was archived by the owner on Apr 1, 2026. It is now read-only.
This repository was archived by the owner on Apr 1, 2026. It is now read-only.

self linking of the component should not be there using odo link #1052

@mohitsuman

Description

@mohitsuman

[kind/bug]

What versions of software are you using?

  • Operating System: macOS
  • Output of odo version: odo v0.0.16 (82968cb)

How did you run odo exactly?

Running odo from the binary.

Actual behavior

If I do odo link on the component and pass the same component name in the --component parameter, it works.

e.g. odo link nodejs --component nodejs

Expected behavior

We should handle this condition and make sure that self linking of the component is not allowed or a warning is shown.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/bindingIssues or PRs related to `odo add/delete binding *` commands or Service Binding Operatorestimated-size/XS (1-5)Rough sizing for Epics. Less than one sprint of work for one person, but smaller than S.kind/bugCategorizes issue or PR as related to a bug.priority/LowNice to have issue. It's not immediately on the project roadmap to get it done.

    Type

    No type

    Projects

    Status

    Done ✅

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions