• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

heketi / heketi / 4393 / 6
63%
master: 63%

Build:
DEFAULT BRANCH: master
Ran 30 Apr 2020 09:29PM UTC
Files 108
Run time 11s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

28 Apr 2020 05:12PM UTC coverage: 62.744%. Remained the same
COVERALLS_TOKEN=[secure]

cron

travis-ci

raghavendra-talur
filevolume: tuning the semantics of expand command

Currently:
---------
$ heketi-cli volume expand \
    --volume=60d46d518074b13a04ce1022c8c7193c --expand-size=10

With this patch:
---------------
I see info and delete commands doesn't use any flag or extra option name
specific to collecting volume id, instead they simply read the arg(0)
as volumeId.

Just to keep the semantics in alignment with other commands like
info and delete, adding suport for syntax:

$ heketi-cli volume expand 60d46d518074b13a04ce1022c8c7193c --expand-size=10

Again, for backward compatability we still maintain old syntax:

$ heketi-cli volume expand \
    --volume=60d46d518074b13a04ce1022c8c7193c --expand-size=10

$ heketi-cli volume expand --help
Expand a volume

Usage:
  heketi-cli volume expand [flags]

Examples:
  * Add 10GiB to a volume
    $ heketi-cli volume expand 60d46d518074b13a04ce1022c8c7193c --expand-size=10
                   [or, you can also use]
    $ heketi-cli volume expand --volume=60d46d518074b13a04ce1022c8c7193c --expand-size=10

Flags:
      --expand-size int
	Amount in GiB to add to the volume
  -h, --help              help for expand
      --volume string
	Id of volume to expand

Signed-off-by: Prasanna Kumar Kalever <prasanna.kalever@redhat.com>

10061 of 16035 relevant lines covered (62.74%)

716.78 hits per line

Source Files on job 4393.6 (COVERALLS_TOKEN=[secure])
  • Tree
  • List 0
  • Changed 31
  • Source Changed 0
  • Coverage Changed 31
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 2468
  • Travis Job 4393.6
  • 5b76984c on github
  • Prev Job for COVERALLS_TOKEN=[secure] on master (#4390.3)
  • Next Job for COVERALLS_TOKEN=[secure] on master (#4395.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc