.. option:: --default INIT
- If the init system of the host operating system is unkown, return
+ If the init system of the host operating system is unknown, return
the value of *INIT* instead of failing with an error.
.. option:: --verbose
}
enum class AwsVersion {
- UNKOWN,
+ UNKNOWN,
V2,
V4
};
enum class AwsRoute {
- UNKOWN,
+ UNKNOWN,
QUERY_STRING,
HEADERS
};
{
using rgw::auth::s3::AWS4_HMAC_SHA256_STR;
- AwsVersion version = AwsVersion::UNKOWN;
- AwsRoute route = AwsRoute::UNKOWN;
+ AwsVersion version = AwsVersion::UNKNOWN;
+ AwsRoute route = AwsRoute::UNKNOWN;
const char* http_auth = info.env->get("HTTP_AUTHORIZATION");
if (http_auth && http_auth[0]) {
AwsRoute route;
std::tie(version, route) = discover_aws_flavour(s->info);
- return route == AwsRoute::QUERY_STRING && version == AwsVersion::UNKOWN;
+ return route == AwsRoute::QUERY_STRING && version == AwsVersion::UNKNOWN;
}