Skip to content

Commit

Permalink
fixing status to accept 201 as non exception
Browse files Browse the repository at this point in the history
  • Loading branch information
drewkerrigan committed Jun 5, 2012
1 parent c063fe9 commit d51b953
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/swift.sh
Expand Up @@ -19,7 +19,7 @@ function op_record_result() {

echo $result >> $results_dir/stats.txt

if [[ "$result" != *"status:200"* ]] && [[ "$result" != *"status:204"* ]]
if [[ "$result" != *"status:200"* ]] && [[ "$result" != *"status:204"* ]] && [[ "$result" != *"status:201"* ]]
then
print_exception "Bad Status: $result from curl command: $command"
fi
Expand Down

0 comments on commit d51b953

Please sign in to comment.