[
https://issues.apache.org/jira/browse/JCLOUDS-125?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13683920#comment-13683920
]
ASF subversion and git services commented on JCLOUDS-125:
---------------------------------------------------------
Commit a5574c05cff38204e43e1cb6cd9fdd3b9c794f7b in branch refs/heads/master
from [~gaul]
[
https://git-wip-us.apache.org/repos/asf?p=incubator-jclouds-karaf.git;h=a5574c0
]
Emit header only when listing multiple containers
Also mimic the output of ls more closely, specifically not indenting
blob names. This commit allows script to more easily consume output.
Fixes JCLOUDS-125.
> blobstore list emits the container name and a few newlines even if no blobs
> are present.
> ----------------------------------------------------------------------------------------
>
> Key: JCLOUDS-125
> URL: https://issues.apache.org/jira/browse/JCLOUDS-125
> Project: jclouds
> Issue Type: Bug
> Components: jclouds-cli
> Affects Versions: 1.7.0, 1.6.0
> Reporter: Agastya Gupta
> Assignee: Andrew Gaul
> Priority: Minor
> Labels: blobstore
>
> blobstore list emits the container name and a few newlines even if no blobs
> are present.
> This can lead to confusion when trying to gauge the number of blobs in a
> blobstore by piping the output of blobstore list to wc -l
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira