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 | 172fbb1f742c3103b599500efe3f2bb284ad8a78 (patch) | |
| tree | 72577f895d79e19f8d8dd1e9d9d67122e1c02923 | |
| parent | cd435d2a40dd4eeedea0ef86c2f5cbb82e8fd251 (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" } } |
