gitlab-shell: fix hard-coded path

This commit is contained in:
Robin Gloster 2018-12-04 21:26:24 +01:00
parent 88b63b2505
commit c2b54dcee5
No known key found for this signature in database
GPG Key ID: D5C458DF6DD97EDF

View File

@ -25,7 +25,7 @@ index 435cb29..078c1df 100644
func NewFromDir(dir string) (*Config, error) {
- return newFromFile(path.Join(dir, configFile))
+ return newFromFile(path.Join(dir, "shell-config.yml"))
+ return newFromFile("/run/gitlab/shell-config.yml")
}
func newFromFile(filename string) (*Config, error) {