fix format

This commit is contained in:
neilpang 2016-11-20 23:09:57 +08:00
parent 16d79ebaac
commit 2f1bc5864f

View File

@ -132,7 +132,7 @@ aws_rest() {
CanonicalRequest="$mtd\n$CanonicalURI\n$CanonicalQueryString\n$CanonicalHeaders\n$SignedHeaders\n$(printf "%s" "$RequestPayload" | _digest "$Hash" hex)" CanonicalRequest="$mtd\n$CanonicalURI\n$CanonicalQueryString\n$CanonicalHeaders\n$SignedHeaders\n$(printf "%s" "$RequestPayload" | _digest "$Hash" hex)"
_debug2 CanonicalRequest "$CanonicalRequest" _debug2 CanonicalRequest "$CanonicalRequest"
HashedCanonicalRequest="$(printf "$CanonicalRequest%s" | _digest "$Hash" hex)" HashedCanonicalRequest="$(printf "$CanonicalRequest%s" | _digest "$Hash" hex)"
_debug2 HashedCanonicalRequest "$HashedCanonicalRequest" _debug2 HashedCanonicalRequest "$HashedCanonicalRequest"
@ -197,6 +197,6 @@ aws_rest() {
return 1 return 1
fi fi
fi fi
return "$_ret" return "$_ret"
} }