Descriptionstate: check unit/service name validity
I originally intended to just move the regexps, but then I realised that we
don't get any of this checking "free" with mongo in the way we did with ZK,
and it is probably a good idea to maintain naming restrictions (given that
there is at least one place we expect to infer entity kind from name
structure (possibly status? possibly set-/get-constraints?)).
https://code.launchpad.net/~fwereade/juju-core/almost-trivial-check-valid-names/+merge/125433
(do not edit description out of merge proposal)
Patch Set 1 #
Total comments: 2
Patch Set 2 : check unit/service name validity #
Total comments: 4
Patch Set 3 : state: check unit/service name validity #
MessagesTotal messages: 5
|