diff options
author | Alejandro Rodríguez <alejorro70@gmail.com> | 2017-12-18 21:50:11 +0300 |
---|---|---|
committer | Alejandro Rodríguez <alejorro70@gmail.com> | 2017-12-19 19:11:50 +0300 |
commit | 3d53098ddc08418a0f0575a8b4c5ed1021626192 (patch) | |
tree | fadd50492aca664e0d964651242b912d20f434c3 /internal/config | |
parent | dd0b6701ace6078aff3ca05dbd0f44ab7d38a79b (diff) |
Remove unused GitlabShell helper
Diffstat (limited to 'internal/config')
-rw-r--r-- | internal/config/config.go | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/internal/config/config.go b/internal/config/config.go index e12dbc476..a3d9fb2e8 100644 --- a/internal/config/config.go +++ b/internal/config/config.go @@ -5,7 +5,6 @@ import ( "io" "os" "os/exec" - "path" "path/filepath" log "github.com/sirupsen/logrus" @@ -188,12 +187,6 @@ func StoragePath(storageName string) (string, bool) { return "", false } -// GitlabShellBinPath returns the full path to gitlab-shell. -// The second boolean return value indicates if it's found -func GitlabShellBinPath() string { - return path.Join(Config.GitlabShell.Dir, "bin") -} - func validateBinDir() error { if err := validateIsDirectory(Config.BinDir, "bin_dir"); err != nil { log.WithError(err).Warn("Gitaly bin directory is not configured") |