diff --git a/dagger-functions/src/main/java/com/gotocompany/dagger/functions/udfs/python/file/source/cos/CosClient.java b/dagger-functions/src/main/java/com/gotocompany/dagger/functions/udfs/python/file/source/cos/CosClient.java index d787db38a..508212203 100644 --- a/dagger-functions/src/main/java/com/gotocompany/dagger/functions/udfs/python/file/source/cos/CosClient.java +++ b/dagger-functions/src/main/java/com/gotocompany/dagger/functions/udfs/python/file/source/cos/CosClient.java @@ -16,10 +16,9 @@ public class CosClient { - // TODO find better way to initialize clients - private final String ENV_COS_SECRET_ID = "COS_SECRET_ID"; - private final String ENV_COS_SECRET_KEY = "COS_SECRET_KEY"; - private final String ENV_COS_REGION = "COS_REGION"; + private static final String ENV_COS_SECRET_ID = "COS_SECRET_ID"; + private static final String ENV_COS_SECRET_KEY = "COS_SECRET_KEY"; + private static final String ENV_COS_REGION = "COS_REGION"; private final COSClient libCosClient;