Only a few instances in exercises/swift.sh
Change-Id: I0a39b11f660453a378d44e4f9f28a4a57352f4a8
| ... | ... |
@@ -45,16 +45,16 @@ CONTAINER=ex-swift |
| 45 | 45 |
# ============= |
| 46 | 46 |
|
| 47 | 47 |
# Check if we have to swift via keystone |
| 48 |
-swift stat || die $LINENO "Failure geting status" |
|
| 48 |
+swift stat || die $LINENO "Failure getting status" |
|
| 49 | 49 |
|
| 50 | 50 |
# 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" |
|
| 52 | 52 |
|
| 53 | 53 |
# 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" |
|
| 55 | 55 |
|
| 56 | 56 |
# 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" |
|
| 58 | 58 |
|
| 59 | 59 |
# And we may want to delete them now that we have tested that |
| 60 | 60 |
# everything works. |