@@ -26,24 +26,24 @@ public CozeLoopClientBuilder() {
2626 private void loadByEnv () {
2727 // Load workspace ID
2828 String workspaceId = System .getenv ("COZELOOP_WORKSPACE_ID" );
29- if (workspaceId != null ) {
29+ if (workspaceId != null ) {
3030 this .config .setWorkspaceId (workspaceId );
3131 }
3232 // Load service name
3333 String serviceName = System .getenv ("COZELOOP_SERVICE_NAME" );
34- if (serviceName != null ) {
34+ if (serviceName != null ) {
3535 this .config .setServiceName (serviceName );
3636 }
3737 // Load auth token
3838 String token = System .getenv ("COZELOOP_API_TOKEN" );
39- if (token != null ) {
39+ if (token != null ) {
4040 this .tokenAuth (token );
4141 }
4242 // Load JWT auth
4343 String clientId = System .getenv ("COZELOOP_JWT_OAUTH_CLIENT_ID" );
4444 String privateKey = System .getenv ("COZELOOP_JWT_OAUTH_PRIVATE_KEY" );
4545 String publicKeyId = System .getenv ("COZELOOP_JWT_OAUTH_PUBLIC_KEY_ID" );
46- if (clientId != null && privateKey != null && publicKeyId != null ) {
46+ if (clientId != null && privateKey != null && publicKeyId != null ) {
4747 this .jwtOAuth (clientId , privateKey , publicKeyId );
4848 }
4949 }
@@ -70,7 +70,7 @@ private void loadByProperties() {
7070 String clientId = ConfigUtils .get ("cozeloop.auth.jwt.client-id" );
7171 String privateKey = ConfigUtils .get ("cozeloop.auth.jwt.private-key" );
7272 String publicKeyId = ConfigUtils .get ("cozeloop.auth.jwt.public-key-id" );
73- if (clientId != null && privateKey != null && publicKeyId != null ) {
73+ if (clientId != null && privateKey != null && publicKeyId != null ) {
7474 this .jwtOAuth (clientId , privateKey , publicKeyId );
7575 }
7676 }
0 commit comments