Commit 9f276b2
authored
[config][loopback] Fix Bug that cannot add loopback interface by CLI (sonic-net#1276)
**- What I did**
Fix that it cannot add loopback interface by CLI, like the following:
```
root@as7816-64x:~# config loopback add Loopback1
Usage: config [OPTIONS] COMMAND [ARGS]...
Try "config --help" for help.
Error: No such command "L".
```
**- How I did it**
Remove `@config.group()` before the function `is_loopback_name_valid(loopback_name)`, which will be called by add/del command
Signed-off-by: MuLin <[email protected]>1 parent a5b78cf commit 9f276b2
1 file changed
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3188 | 3188 | | |
3189 | 3189 | | |
3190 | 3190 | | |
3191 | | - | |
3192 | 3191 | | |
3193 | 3192 | | |
3194 | 3193 | | |
| |||
0 commit comments