Skip to content

Commit

Permalink
Goimports wasn't running on CRD generation
Browse files Browse the repository at this point in the history
  • Loading branch information
markmandel committed Feb 21, 2018
1 parent d226a24 commit 22f8b1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 22f8b1a

Please sign in to comment.