Преглед на файлове

HDDS-1283. Fix the dynamic documentation of basic s3 client usage. Contributed by Elek, Marton. (#605)

Elek, Márton преди 6 години
родител
ревизия
16b78622cc
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      hadoop-ozone/s3gateway/src/main/resources/webapps/static/index.html

+ 1 - 1
hadoop-ozone/s3gateway/src/main/resources/webapps/static/index.html

@@ -68,7 +68,7 @@
 
     <p>For example with aws-cli:</p>
 
-    <pre>aws s3api --endpoint <script>document.write(window.location.href).replace("static/", "")</script> create-bucket --bucket=wordcount</pre>
+    <pre>aws s3api --endpoint <script>document.write(window.location.href.replace("static/", ""))</script> create-bucket --bucket=wordcount</pre>
 
     <p>For more information, please check the <a href="docs">documentation.</a>
     </p>