Skip to content

Commit 7bae8b6

Browse files
author
Kingdon Barrett
committed
chore(linter): gofmt -s
1 parent 9d4a479 commit 7bae8b6

2 files changed

Lines changed: 10 additions & 10 deletions

File tree

pkg/gitreceive/build.go

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -110,13 +110,13 @@ func build(
110110
}
111111
}
112112

113-
var buildPackDebug string
114-
if buildPackDebugInterface, ok := appConf.Values["DEIS_BUILDPACK_DEBUG"]; ok {
115-
if bpDbgStr, ok := buildPackDebugInterface.(string); ok {
116-
log.Debug("Buildpack Debug is on")
117-
buildPackDebug = bpDbgStr
118-
}
119-
}
113+
var buildPackDebug string
114+
if buildPackDebugInterface, ok := appConf.Values["DEIS_BUILDPACK_DEBUG"]; ok {
115+
if bpDbgStr, ok := buildPackDebugInterface.(string); ok {
116+
log.Debug("Buildpack Debug is on")
117+
buildPackDebug = bpDbgStr
118+
}
119+
}
120120

121121
_, disableCaching := appConf.Values["DEIS_DISABLE_CACHE"]
122122
slugBuilderInfo := NewSlugBuilderInfo(appName, gitSha.Short(), disableCaching)

pkg/gitreceive/k8s_util.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -166,9 +166,9 @@ func slugbuilderPod(
166166
addEnvToPod(pod, "BUILDPACK_URL", buildpackURL)
167167
}
168168

169-
if buildpackDebug != "" {
170-
addEnvToPod(pod, "DEIS_BUILDPACK_DEBUG", buildpackDebug)
171-
}
169+
if buildpackDebug != "" {
170+
addEnvToPod(pod, "DEIS_BUILDPACK_DEBUG", buildpackDebug)
171+
}
172172

173173
return &pod
174174
}

0 commit comments

Comments
 (0)