eod status 19/07/2012

David Cheney david.cheney at canonical.com
Fri Jul 20 00:41:31 UTC 2012


That is good to know, yaml are not (but I will double check)



On Friday, 20 July 2012 at 10:03 AM, Gustavo Niemeyer wrote:

> On Thu, Jul 19, 2012 at 8:45 PM, David Cheney
> <david.cheney at canonical.com (mailto:david.cheney at canonical.com)> wrote:
> > Open question, some fields in juju status _must_ be maps. This makes
> > comparing the output complicated because Go maps are not stable.
> > I suspect I'm going to have to implement MarshallJson/Yaml methods
> > on a lot of types to sort the keys properly.
> 
> 
> 
> Hmm.. are you sure? A cursory look into encoding/json seems to
> indicate maps are sorted when being marshalled.
> 
> 
> gustavo @ http://niemeyer.net 





More information about the Juju-dev mailing list