Do states have namespace?

fengxia fxia1 at lenovo.com
Tue Apr 18 12:50:02 UTC 2017


I did a quick experiment:

1. Created two layers in one charm, each layer has a few states, 
set_state() can trigger @when defined in other layers.

2. Use the same set of states, now splitting them in two charms => @when 
don't trigger anymore.

So does this mean states have a namespace by the charm it belongs?

-- 
Feng xia
Engineer
Lenovo USA

Phone: 5088011794
fxia1 at lenovo.com
  	
Lenovo.com
Twitter | Facebook | Instagram | Blogs | Forums




More information about the Juju mailing list