golang/xenlight: remove call to go fmt in gengotypes.py
authorNick Rosbrook <rosbrookn@ainfosec.com>
Mon, 8 Jun 2020 16:10:39 +0000 (17:10 +0100)
committerGeorge Dunlap <george.dunlap@citrix.com>
Mon, 8 Jun 2020 16:11:38 +0000 (17:11 +0100)
commit16c36d27f2644737c34d4a0fc1de525d0ee185ad
tree71dc05f3f448e58e36d43f8340852e295e6057e7
parent03dc5f00f66e9c29afdfc9a72e4e6d70ea50b191
golang/xenlight: remove call to go fmt in gengotypes.py

Since the golang bindings are now set to be re-generated whenever a
change is made to tools/libxl/libxl_types.idl, the call to go fmt in
gengotypes.py results in a dirty git tree for users without go
installed.

As an immediate fix, just remove the call to go fmt from gengotypes.py.
While here, make sure the DO NOT EDIT comment and package declaration
remain formatted correctly. All other generated code is left
un-formatted for now.

Signed-off-by: Nick Rosbrook <rosbrookn@ainfosec.com>
Reviewed-by: George Dunlap <george.dunlap@citrix.com>
Remove trailing whitespace.

Signed-off-by: George Dunlap <george.dunlap@citrix.com>
tools/golang/xenlight/gengotypes.py
tools/golang/xenlight/helpers.gen.go
tools/golang/xenlight/types.gen.go