Skip to content

Commit da307bb

Browse files
committed
refactor: mv utils constant REDIS_PASSWORD to rayv1 constant
1 parent f686791 commit da307bb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ray-operator/apis/ray/v1/constant.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const (
66

77
// Use as container env variable
88
RAY_REDIS_ADDRESS = "RAY_REDIS_ADDRESS"
9-
9+
REDIS_PASSWORD = "REDIS_PASSWORD"
1010
// Ray GCS FT related annotations
1111
RayFTEnabledAnnotationKey = "ray.io/ft-enabled"
1212
)

ray-operator/controllers/ray/utils/constant.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ const (
100100
RAY_PORT = "RAY_PORT"
101101
RAY_ADDRESS = "RAY_ADDRESS"
102102
RAY_REDIS_ADDRESS = rayv1.RAY_REDIS_ADDRESS
103-
REDIS_PASSWORD = "REDIS_PASSWORD"
103+
REDIS_PASSWORD = rayv1.REDIS_PASSWORD
104104
RAY_DASHBOARD_ENABLE_K8S_DISK_USAGE = "RAY_DASHBOARD_ENABLE_K8S_DISK_USAGE"
105105
RAY_EXTERNAL_STORAGE_NS = "RAY_external_storage_namespace"
106106
RAY_GCS_RPC_SERVER_RECONNECT_TIMEOUT_S = "RAY_gcs_rpc_server_reconnect_timeout_s"

0 commit comments

Comments
 (0)