Skip to content

Commit 2a9cf72

Browse files
Merge pull request #301 from hbelmiro/fix-KFP_POD_NAME-var
UPSTREAM: <carry>: chore(config): Rename `ARGO_POD_NAME` to `KFP_POD_NAME` in pod name fetch logic
2 parents c0cb1b4 + 004a390 commit 2a9cf72

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

backend/src/v2/config/env.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ func InPodNamespace() (string, error) {
104104

105105
// InPodName gets the pod name from inside a Kubernetes Pod.
106106
func InPodName() (string, error) {
107-
if podName, exists := os.LookupEnv("ARGO_POD_NAME"); exists && podName != "" {
107+
if podName, exists := os.LookupEnv("KFP_POD_NAME"); exists && podName != "" {
108108
return podName, nil
109109
}
110110
podName, err := os.ReadFile("/etc/hostname")

0 commit comments

Comments
 (0)