diff --git a/src/code.cloudfoundry.org/nats-v2-migrate/nats-wrapper/main.go b/src/code.cloudfoundry.org/nats-v2-migrate/nats-wrapper/main.go index e9989d02..77917729 100644 --- a/src/code.cloudfoundry.org/nats-v2-migrate/nats-wrapper/main.go +++ b/src/code.cloudfoundry.org/nats-v2-migrate/nats-wrapper/main.go @@ -74,7 +74,6 @@ func main() { // #nosec G104 - don't handle error writing http response. at best, we could log it and be susceptible to DoS's filling up disks with logs w.Write(nil) syscall.Kill(os.Getpid(), syscall.SIGINT) // SIGINT stops the nats server gracefully - return }) migrateServer := http_server.NewTLSServer(fmt.Sprintf("0.0.0.0:%d", cfg.NATSMigratePort), sm, tlsConfig)