Skip to content

Commit 0360b36

Browse files
arschlesAaron Schlesinger
authored andcommitted
fix(build.go): remove unused variable & comment why
1 parent 4586238 commit 0360b36

1 file changed

Lines changed: 2 additions & 7 deletions

File tree

pkg/gitreceive/build.go

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -435,13 +435,8 @@ func build(conf *Config, etcdClient *etcd.Client) error {
435435
// fi
436436
//
437437

438-
cfg, err := getAppConfig(
439-
conf,
440-
builderKey,
441-
conf.Username,
442-
conf.App,
443-
)
444-
if err != nil {
438+
// Ensure that the app config can be gotten from workflow. We don't do anything with this information
439+
if _, err := getAppConfig(conf, builderKey, conf.Username, conf.App); err != nil {
445440
return fmt.Errorf("getting app config for %s (%s)", conf.App, err)
446441
}
447442

0 commit comments

Comments
 (0)