mirror of
https://github.com/wavetermdev/ssh_config.git
synced 2026-08-05 13:43:40 -07:00
fix: duplicated code leftover from merge
This commit is contained in:
@@ -338,13 +338,6 @@ func (u *UserSettings) ReloadConfigs() {
|
||||
u.doLoadConfigs()
|
||||
}
|
||||
|
||||
// ReloadConfigs clears the cached config data and freshly loads the config
|
||||
// files again.
|
||||
func (u *UserSettings) ReloadConfigs() {
|
||||
u.loadConfigs = new(sync.Once)
|
||||
u.doLoadConfigs()
|
||||
}
|
||||
|
||||
func parseFile(filename string, ignoreMatchDirective bool) (*Config, error) {
|
||||
return parseWithDepth(filename, ignoreMatchDirective, 0)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user