gitlab-shell: fix hard-coded path
This commit is contained in:
+1
-1
@@ -25,7 +25,7 @@ index 435cb29..078c1df 100644
|
|||||||
|
|
||||||
func NewFromDir(dir string) (*Config, error) {
|
func NewFromDir(dir string) (*Config, error) {
|
||||||
- return newFromFile(path.Join(dir, configFile))
|
- 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) {
|
func newFromFile(filename string) (*Config, error) {
|
||||||
|
|||||||
Reference in New Issue
Block a user