diff options
| author | Paul Buetow <pbuetow@mimecast.com> | 2021-10-24 18:24:46 +0300 |
|---|---|---|
| committer | Paul Buetow <pbuetow@mimecast.com> | 2021-10-24 18:24:46 +0300 |
| commit | 7c927e7e6d913168798d245a7ceea32a9ca85643 (patch) | |
| tree | 72577f895d79e19f8d8dd1e9d9d67122e1c02923 | |
| parent | 06fc0aba4eaa5906b7883d305e9b4116840e8871 (diff) | |
Use different ssh host key file path for integration tests
| -rw-r--r-- | internal/config/initializer.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/config/initializer.go b/internal/config/initializer.go index 024464e..936df8a 100644 --- a/internal/config/initializer.go +++ b/internal/config/initializer.go @@ -85,6 +85,7 @@ func (in *initializer) readEnvironmentVars() { if Env("DTAIL_RUN_INTEGRATION_TESTS") { os.Setenv("DTAIL_HOSTNAME_OVERRIDE", "integrationtest") os.Setenv("DTAIL_SSH_KNOWN_HOSTS_FILE", "./known_hosts") + in.Server.HostKeyFile = "./ssh_host_key" } } |
