api
api copied to clipboard
Updating file share name with length greater than 255 characters is successful
Is this a BUG REPORT or FEATURE REQUEST?: /kind bug
What happened:
- Created a file share with name less than 255 characters.
- Updated the same file share with name greater than 255 characters. What you expected to happen: File share update should have failed with appropriate error message. "Name cannot be greater than 255 characters." How to reproduce it (as minimally and precisely as possible):
- Create a file share with name less than 255 characters.
- Update the file share with name greater than 255 characters.
Anything else we need to know?: All steps tested with CLI.
Environment:
- Hotpot(release/branch) version: v0.7.0
- OS (e.g. from /etc/os-release): Ubuntu 16.04.6 LTS
- Kernel (e.g.
uname -a
):Linux opensds-VirtualBox 4.15.0-72-generic #81~16.04.1-Ubuntu SMP Tue Nov 26 16:34:21 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
- Install tools:
- Others: Using the Hotpot CLI for testing