dotmesh-io / dotmesh

dotmesh (dm) is like git for your data volumes (databases, files etc) in Docker and Kubernetes
https://dotmesh.com
Apache License 2.0
538 stars 29 forks source link

[0.1d INTERRUPTION] client and server name lengths don't match up #629

Closed Godley closed 5 years ago

Godley commented 5 years ago

We are now using long dotnames on dotscience to avoid clashes. That means you can no longer fix or fiddle with them using dm because the client is more limiting than the server i.e you get this Error: someverylongdotname is an invalid name

Also we should make the invalid name error message indicate what is invalid.

Godley commented 5 years ago

Think this is handled now, in switch we just don't validate - they're not creating a dot at this point anyway so it's too late. At creation time I changed the error message to indicate it must be shorter than x characters