dlmarion commented on code in PR #2798:
URL: https://github.com/apache/accumulo/pull/2798#discussion_r913699633


##########
assemble/bin/accumulo-cluster:
##########
@@ -429,6 +429,10 @@ function main() {
 
   case "$1" in
     create-config)
+      if [[ -f "$conf"/cluster.yaml ]]; then
+         echo "ERROR : $conf/cluster.yaml already exists, not overwriting"
+         exit 1
+      fi

Review Comment:
   ```suggestion
         if [[ -f "$conf"/cluster.yaml ]]; then
           echo "ERROR : $conf/cluster.yaml already exists, not overwriting"
           exit 1
         fi
   ```



-- 
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]

Reply via email to