Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Revert "Revert "Revert "feat: Support config files with viper"" (#4693)"
This reverts commit 372fb1f.
  • Loading branch information
f0ssel authored Oct 21, 2022
commit 7182fd2950c32196eb03d307a9006598f3ec5c6a
8 changes: 0 additions & 8 deletions cli/config/file.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@ import (
"path/filepath"
)

const (
FlagName = "global-config"
)

// Root represents the configuration directory.
type Root string

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

func (r Root) DeploymentConfigPath() string {
return filepath.Join(string(r), "server.yaml")
}

// File provides convenience methods for interacting with *os.File.
type File string

Expand Down
Loading