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: issues-unsubscr...@solr.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org
For additional commands, e-mail: issues-h...@solr.apache.org

Reply via email to