1 Commits

Author SHA1 Message Date
Anton Arefiev
17274a613f Add forward slash for node path patch
Ironic cli allow to patch attributes w/o forward slash
at the beginning:
    ironic node-update <node_id> add 'driver_info/attr'='my_attr'
Inspector fails if driver info in rules provided in same manner,
this change add head forward slash to path if it's missing.

Closes-Bug: #1529809
Change-Id: I4423184e15d5779c59a903b50554db0550ba3d83
2016-02-10 10:59:02 +02:00