ak58588 commented on this pull request.


> +         containerName = parametersArray[1]; 
+         UriBuilder endpoint = 
Uris.uriBuilder(storageUrl).appendPath(containerName);
+         if (parametersArray.length == 3) {
+            endpoint.appendPath(parametersArray[2]).query(credential);
+         } else {
+            endpoint.query("restype=container&" + credential);
+         }
+         return removeAuthorizationHeader(
+            replaceDateHeader(request.toBuilder()
+               .endpoint(endpoint.build())
+               .build()));
+      } catch (NullPointerException e){
+        utils.logRequest(signatureLog, request, "<< a NullPointerException is 
catched");
+      } catch (IllegalArgumentException ex) {
+        utils.logRequest(signatureLog, request, "<< an 
IllegalArgumentException is catched ");
+      } 

Done 

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/1270#discussion_r257136430

Reply via email to