eod status 19/07/2012

Gustavo Niemeyer gustavo.niemeyer at canonical.com
Fri Jul 20 00:03:58 UTC 2012


On Thu, Jul 19, 2012 at 8:45 PM, David Cheney
<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