From 22f8b1ae904140358116fa54a47d800393cfb4ca Mon Sep 17 00:00:00 2001 From: Mark Mandel Date: Wed, 21 Feb 2018 09:01:29 -0800 Subject: [PATCH] Goimports wasn't running on CRD generation --- build/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/Makefile b/build/Makefile index 32de45ec92..93f08e8af7 100644 --- a/build/Makefile +++ b/build/Makefile @@ -157,7 +157,7 @@ gen-gameservers-sdk-grpc: ensure-build-image # Generate the client for our CustomResourceDefinition gen-crd-client: ensure-build-image docker run --rm $(common_mounts) -w $(mount_path) $(build_tag) /root/gen-crd-client.sh - docker run --rm $(common_mounts) -w $(mount_path)/pkg $(build_tag) goimports + docker run --rm $(common_mounts) -w $(mount_path)/pkg $(build_tag) goimports -w . # Run a bash shell with the developer tools in it. (Creates the image if it doesn't exist) # Can use DOCKER_RUN_ARGS for extra arguments.