jasonkingatconversocial commented on code in PR #660:
URL: https://github.com/apache/solr-operator/pull/660#discussion_r1574398165


##########
controllers/util/solr_security_util.go:
##########
@@ -238,7 +238,7 @@ func addHostHeaderToProbe(httpGet *corev1.HTTPGetAction, 
host string) {
 
 func cmdToPutSecurityJsonInZk() string {
        scriptsDir := "/opt/solr/server/scripts/cloud-scripts"
-       cmd := " ZK_SECURITY_JSON=$(%s/zkcli.sh -zkhost ${ZK_HOST} -cmd get 
/security.json); "
+       cmd := " ZK_SECURITY_JSON=$(%s/zkcli.sh -zkhost ${ZK_HOST} -cmd get 
/security.json || echo 'failed-to-get-security.json'); "

Review Comment:
   Thanks for the update; much appreciated.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to