Skip to content

Commit 28b2a8c

Browse files
arschlesAaron Schlesinger
authored andcommitted
fix(get_app_config.go): correct the return order
1 parent 8d2aba0 commit 28b2a8c

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

pkg/gitreceive/get_app_config.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import (
44
"bytes"
55
"encoding/json"
66
"net/http"
7-
"os"
87

98
"github.com/deis/builder/pkg"
109
)
@@ -48,5 +47,5 @@ func getAppConfig(conf *Config, builderKey, userName, appName string) (*pkg.Conf
4847
if err := json.NewDecoder(res.Body).Decode(ret); err != nil {
4948
return nil, err
5049
}
51-
return nil, ret
50+
return ret, nil
5251
}

0 commit comments

Comments
 (0)