You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by lb...@apache.org on 2019/03/25 08:28:13 UTC
[camel-k] branch master updated: chore(style): apply gofmt after
code generation
This is an automated email from the ASF dual-hosted git repository.
lburgazzoli pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-k.git
The following commit(s) were added to refs/heads/master by this push:
new b715c01 chore(style): apply gofmt after code generation
b715c01 is described below
commit b715c01527e656b33ede8a9672e588adb86ad2b6
Author: lburgazzoli <lb...@gmail.com>
AuthorDate: Mon Mar 25 07:14:58 2019 +0100
chore(style): apply gofmt after code generation
---
pkg/util/defaults/defaults.go | 21 ++++++++++-----------
script/Makefile | 1 +
2 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/pkg/util/defaults/defaults.go b/pkg/util/defaults/defaults.go
index e301ddd..8ffeef9 100644
--- a/pkg/util/defaults/defaults.go
+++ b/pkg/util/defaults/defaults.go
@@ -5,19 +5,18 @@ package defaults
// ***********************
const (
- // Version --
- Version = "0.3.2-SNAPSHOT"
+ // Version --
+ Version = "0.3.2-SNAPSHOT"
- // CamelVersionConstraint --
- CamelVersionConstraint = "~2.23.x"
+ // CamelVersionConstraint --
+ CamelVersionConstraint = "~2.23.x"
- // RuntimeVersion --
- RuntimeVersion = "0.3.1"
+ // RuntimeVersion --
+ RuntimeVersion = "0.3.1"
- // BaseImage --
- BaseImage = "fabric8/s2i-java:3.0-java8"
+ // BaseImage --
+ BaseImage = "fabric8/s2i-java:3.0-java8"
- // LocalRepository --
- LocalRepository = "/tmp/artifacts/m2"
+ // LocalRepository --
+ LocalRepository = "/tmp/artifacts/m2"
)
-
diff --git a/script/Makefile b/script/Makefile
index 1107616..30cb95b 100644
--- a/script/Makefile
+++ b/script/Makefile
@@ -37,6 +37,7 @@ codegen:
@echo " LocalRepository = \"$(LOCAL_REPOSITORY)\"" >> $(VERSIONFILE)
@echo ")" >> $(VERSIONFILE)
@echo "" >> $(VERSIONFILE)
+ gofmt -w pkg/util/defaults/defaults.go
generate:
operator-sdk generate k8s