diff options
Diffstat (limited to 'internal/config/env.go')
| -rw-r--r-- | internal/config/env.go | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/internal/config/env.go b/internal/config/env.go index 804a10a..1ccac9c 100644 --- a/internal/config/env.go +++ b/internal/config/env.go @@ -16,12 +16,3 @@ func Hostname() (string, error) { } return os.Hostname() } - -// SSHKnownHostsFile returns the known hosts file path (useful for integration tests) -func SSHKnownHostsFile() string { - if len(os.Getenv("DTAIL_SSH_KNOWN_HOSTS_FILE")) > 0 { - return os.Getenv("DTAIL_SSH_KNOWN_HOSTS_FILE") - } else { - return os.Getenv("HOME") + "/.ssh/known_hosts" - } -} |
