Details
Assignee
Roma NovikovRoma Novikov(Deactivated)Reporter
Nailya KutlubaevaNailya KutlubaevaPriority
MediumComponents
Labels
Needs QA
YesNeeds Doc
Yes
Details
Details
Assignee
Roma Novikov
Roma Novikov(Deactivated)Reporter
Nailya Kutlubaeva
Nailya KutlubaevaPriority
Components
Labels
Needs QA
Yes
Needs Doc
Yes
Smart Checklist
Smart Checklist
Smart Checklist
Created April 29, 2020 at 8:41 AM
Updated March 6, 2024 at 4:32 AM
During testing of PMM-5776 was found some difference in validation of pmm-admin inventory add service command. For example, if I'm trying to add external service with:
pmm-admin inventory add service external
the next message is returned:
pmm-admin: error: required flag --node-id not provided, try --help
But if I run pmm-admin inventory add service mysql|mongodb|... I see the error message:
[ec2-user@ip-10-178-2-127 ~]$ pmm-admin inventory add service mysql invalid field ServiceName: value '' must not be an empty string
I think we should implement the same behaviour for all commands. If user run command without any arguments pmm-admin should return help message.