From 7a1e99b6b774257ef6e293c2d47375e3b2332b9a Mon Sep 17 00:00:00 2001 From: Matt Keeler Date: Mon, 12 Jun 2023 10:53:52 -0400 Subject: [PATCH] Run formatting with -s as CI will validate that this has been done --- GNUmakefile | 2 +- agent/consul/options.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/GNUmakefile b/GNUmakefile index e874fa0eb706..3443b71db7b7 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -337,7 +337,7 @@ fmt: $(foreach mod,$(GO_MODULES),fmt/$(mod)) .PHONY: fmt/% fmt/%: @echo "--> Running go fmt ($*)" - @cd $* && go fmt ./... + @cd $* && gofmt -s -l -w . .PHONY: lint lint: $(foreach mod,$(GO_MODULES),lint/$(mod)) lint-container-test-deps diff --git a/agent/consul/options.go b/agent/consul/options.go index 340da7d7fb13..26cb2471a89b 100644 --- a/agent/consul/options.go +++ b/agent/consul/options.go @@ -38,7 +38,7 @@ type Deps struct { // HCP contains the dependencies required when integrating with the HashiCorp Cloud Platform HCP hcp.Deps - + Experiments []string EnterpriseDeps