tremplin: Sort features when converting to string

Iteration order of maps is not defined in Go, so the features would be
added to the string in a random order, breaking the unit tests 50% of
the time.  Change the string implementation to always return the
features in sorted order.

BUG=chromium:1113140
TEST=FEATURES=test emerge-tatl tremplin

Change-Id: I431c75c643174344bf4d733edc03daabc26429f5
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/tremplin/+/2339846
Reviewed-by: Stephen Barber <smbarber@chromium.org>
Commit-Queue: Daniel Verkamp <dverkamp@chromium.org>
Tested-by: Daniel Verkamp <dverkamp@chromium.org>
1 file changed
tree: f81e689578557d019f70d36b31205d386bfdd91a
  1. src/
  2. .gitignore
  3. OWNERS
  4. README.md
README.md

Tremplin

Tremplin is the “springboard” daemon that runs in the Termina VM and exposes a gRPC interface for managing LXD containers.