Skip to content

Commit

Permalink
delete minor unreachable code caused by log.Fatal (#15714)
Browse files Browse the repository at this point in the history
* delete minor unreachable code caused by log.Fatal

Signed-off-by: Abirdcfly <[email protected]>

* bump Application Connector test image

* Update tests/components/application-connector/resources/charts/gateway-test/values.yaml

Co-authored-by: Franciszek Pogodziński <[email protected]>

Signed-off-by: Abirdcfly <[email protected]>
Co-authored-by: Franciszek Pogodziński <[email protected]>
Co-authored-by: Rafal Foks <[email protected]>
  • Loading branch information
3 people authored Oct 11, 2022
1 parent 0b822d4 commit 7513661
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ global:

mockApplication:
name: "mock-app"
version: "v20221005-19bb01b8"
version: "PR-15714"

serviceAccountName: "test-account"
namespace: "test"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,15 +44,13 @@ func main() {
router := test_api.SetupMTLSRoutes(os.Stdout, oAuthCredentials, oauthTokens, csrfTokens)
mtlsServer := newMTLSServer(cfg.mTLS.caCertPath, address, router)
log.Fatal(mtlsServer.ListenAndServeTLS(cfg.mTLS.serverCertPath, cfg.mTLS.serverKeyPath))
wg.Done()
}()

go func() {
address := fmt.Sprintf(":%d", cfg.mTLSExpiredCerts.port)
router := test_api.SetupMTLSRoutes(os.Stdout, oAuthCredentials, oauthTokens, csrfTokens)
mtlsServer := newMTLSServer(cfg.mTLSExpiredCerts.caCertPath, address, router)
log.Fatal(mtlsServer.ListenAndServeTLS(cfg.mTLSExpiredCerts.serverCertPath, cfg.mTLSExpiredCerts.serverKeyPath))
wg.Done()
}()

wg.Wait()
Expand Down

0 comments on commit 7513661

Please sign in to comment.