diff --git a/main.go b/main.go index 66355ec2..c80a4a73 100644 --- a/main.go +++ b/main.go @@ -58,7 +58,7 @@ func main() { service.KubeConfig = *kubeconfig // Run the service as a pre-init step. - if os.Getenv(gocsi.EnvVarMode) == "MDM-Info" { + if os.Getenv(gocsi.EnvVarMode) == "mdm-info" { fmt.Fprintf(os.Stdout, "PowerFlex Container Storage Interface (CSI) Plugin starting in pre-init mode.") svc := service.NewPreInitService() err := svc.PreInit()