Skip to content

Commit a2fb444

Browse files
authored
Revert "feat: Support config files with viper (#4558)" (#4692)
This reverts commit c8e299c.
1 parent 0d27b59 commit a2fb444

35 files changed

+1091
-922
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)