Skip to content

Commit e853706

Browse files
authored
Revert "Revert "Revert "feat: Support config files with viper"" (#4693)" (#4695)
This reverts commit 372fb1f.
1 parent 372fb1f commit e853706

35 files changed

+1091
-923
lines changed

cli/config/file.go

-8
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,6 @@ import (
66
"path/filepath"
77
)
88

9-
const (
10-
FlagName = "global-config"
11-
)
12-
139
// Root represents the configuration directory.
1410
type Root string
1511

@@ -46,10 +42,6 @@ func (r Root) PostgresPort() File {
4642
return File(filepath.Join(r.PostgresPath(), "port"))
4743
}
4844

49-
func (r Root) DeploymentConfigPath() string {
50-
return filepath.Join(string(r), "server.yaml")
51-
}
52-
5345
// File provides convenience methods for interacting with *os.File.
5446
type File string
5547

0 commit comments

Comments
 (0)