Skip to content

Commit f504641

Browse files
Jenkinsopenstack-gerrit
authored andcommitted
Merge "Move swift CLI commands to OSC commands"
2 parents 7fb5d29 + bf1b8ed commit f504641

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

exercises/swift.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,16 +45,16 @@ CONTAINER=ex-swift
4545
# =============
4646

4747
# Check if we have to swift via keystone
48-
swift stat || die $LINENO "Failure geting status"
48+
swift stat || die $LINENO "Failure getting status"
4949

5050
# We start by creating a test container
51-
swift post $CONTAINER || die $LINENO "Failure creating container $CONTAINER"
51+
openstack container create $CONTAINER || die $LINENO "Failure creating container $CONTAINER"
5252

5353
# add some files into it.
54-
swift upload $CONTAINER /etc/issue || die $LINENO "Failure uploading file to container $CONTAINER"
54+
openstack object create $CONTAINER /etc/issue || die $LINENO "Failure uploading file to container $CONTAINER"
5555

5656
# list them
57-
swift list $CONTAINER || die $LINENO "Failure listing contents of container $CONTAINER"
57+
openstack object list $CONTAINER || die $LINENO "Failure listing contents of container $CONTAINER"
5858

5959
# And we may want to delete them now that we have tested that
6060
# everything works.

0 commit comments

Comments
 (0)