Skip to content
Snippets Groups Projects
Commit a5d43bd9 authored by Samuel Vijaykumar M's avatar Samuel Vijaykumar M
Browse files

Remove redundant code

parent 96804215
No related branches found
No related tags found
No related merge requests found
......@@ -695,10 +695,6 @@ func createSentinelExporterContainer(rf *redisfailoverv1.RedisFailover) corev1.C
Resources: resources,
}
if rf.Spec.Sentinel.Exporter.Env != nil {
container.Env = append(container.Env, rf.Spec.Sentinel.Exporter.Env...)
}
return container
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment