hpe-container-platform-community/hpecp-python-library

Validate k8s-cluster-id format in hpecp tenant create

snowch opened this issue · 1 comments

Need to validate the --k8s-cluster-id parameter:

hpecp tenant create --k8s-cluster-id /api/v2/k8scluster/2 --tenant-type k8s --name test --description long

I.e. this should return an error:

hpecp tenant create --k8s-cluster-id 2 --tenant-type k8s --name test --description long

Done