Skip to content

Commit

Permalink
test/scripts: fix minor grammar issues
Browse files Browse the repository at this point in the history
Signed-off-by: paul luse <[email protected]>
Change-Id: Iee7502d37e7359d22bb2d72411d6555d6607c3ff
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/468648
Tested-by: SPDK CI Jenkins <[email protected]>
Reviewed-by: Jim Harris <[email protected]>
Reviewed-by: Ben Walker <[email protected]>
  • Loading branch information
peluse authored and Ben Walker committed Sep 19, 2019
1 parent 5456a43 commit 793d34e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions scripts/rpc.py
Original file line number Diff line number Diff line change
Expand Up @@ -1467,7 +1467,7 @@ def nbd_start_disk(args):
nbd_device=args.nbd_device))

p = subparsers.add_parser('nbd_start_disk', aliases=['start_nbd_disk'],
help='Export a bdev as a nbd disk')
help='Export a bdev as an nbd disk')
p.add_argument('bdev_name', help='Blockdev name to be exported. Example: Malloc0.')
p.add_argument('nbd_device', help='Nbd device name to be assigned. Example: /dev/nbd0.', nargs='?')
p.set_defaults(func=nbd_start_disk)
Expand All @@ -1477,7 +1477,7 @@ def nbd_stop_disk(args):
nbd_device=args.nbd_device)

p = subparsers.add_parser('nbd_stop_disk', aliases=['stop_nbd_disk'],
help='Stop a nbd disk')
help='Stop an nbd disk')
p.add_argument('nbd_device', help='Nbd device name to be stopped. Example: /dev/nbd0.')
p.set_defaults(func=nbd_stop_disk)

Expand Down
2 changes: 1 addition & 1 deletion test/common/autotest_common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -596,7 +596,7 @@ function part_dev_by_gpt () {
echo "Process nbd pid: $nbd_pid"
waitforlisten $nbd_pid $rpc_server

# Start bdev as a nbd device
# Start bdev as an nbd device
nbd_start_disks "$rpc_server" $devname $nbd_path

waitfornbd ${nbd_path:5}
Expand Down

0 comments on commit 793d34e

Please sign in to comment.