linkerd / linkerd/namerctl

Haven't error when use wrong port

Open
#28 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
30
Forks
9
PR merge metrics
No merged PRs in 30d

Description

By mistake I've used admin port (9991) instead of http (4181).
And run command: `namerctl dtab create incoming incoming --base-url "http://host:9991"`
After that I got message: **Created incoming** and didn't have an error

When I run: `namerctl dtab ls --base-url "http://host:9991"`
I got: `Error: invalid character '<' looking for beginning of value`

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the `namerctl dtab create` command and its `--base-url` handling, then compare its behavior with `namerctl dtab ls` when pointed at port 9991. Done means using the admin port does not report `Created incoming` silently and instead surfaces an appropriate error.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.