mirror of
https://github.com/ceph/ceph
synced 2024-12-27 05:53:20 +00:00
src: Fix typo
Replace "dont" with "don't". "Dont" is not same as "Do not" or "Don't". Signed-off-by: Simran Singhal <singhalsimran0@gmail.com>
This commit is contained in:
parent
235f211901
commit
f3b3bcfbc9
@ -189,7 +189,7 @@ int RGWRESTConn::get_obj(const rgw_user& uid, req_info *info /* optional */, rgw
|
||||
static constexpr char SEARCH_AMZ_PREFIX[] = "HTTP_X_AMZ_";
|
||||
for (auto iter= orig_map.lower_bound(SEARCH_AMZ_PREFIX); iter != orig_map.end(); ++iter) {
|
||||
const string& name = iter->first;
|
||||
if (name == "HTTP_X_AMZ_DATE") /* dont forward date from original request */
|
||||
if (name == "HTTP_X_AMZ_DATE") /* don't forward date from original request */
|
||||
continue;
|
||||
if (name.compare(0, strlen(SEARCH_AMZ_PREFIX), SEARCH_AMZ_PREFIX) != 0)
|
||||
break;
|
||||
|
@ -273,7 +273,7 @@ int main(int argc, char *argv[])
|
||||
}
|
||||
}
|
||||
|
||||
/* dont accidentally run as anonymous */
|
||||
/* don't accidentally run as anonymous */
|
||||
if ((access_key == "") ||
|
||||
(secret_key == "")) {
|
||||
std::cout << argv[0] << " no AWS credentials, exiting" << std::endl;
|
||||
|
@ -414,7 +414,7 @@ int main(int argc, char *argv[])
|
||||
}
|
||||
}
|
||||
|
||||
/* dont accidentally run as anonymous */
|
||||
/* don't accidentally run as anonymous */
|
||||
if ((access_key == "") ||
|
||||
(secret_key == "")) {
|
||||
std::cout << argv[0] << " no AWS credentials, exiting" << std::endl;
|
||||
|
@ -187,7 +187,7 @@ int main(int argc, char *argv[])
|
||||
}
|
||||
}
|
||||
|
||||
/* dont accidentally run as anonymous */
|
||||
/* don't accidentally run as anonymous */
|
||||
if ((access_key == "") ||
|
||||
(secret_key == "")) {
|
||||
std::cout << argv[0] << " no AWS credentials, exiting" << std::endl;
|
||||
|
@ -471,7 +471,7 @@ int main(int argc, char *argv[])
|
||||
}
|
||||
}
|
||||
|
||||
/* dont accidentally run as anonymous */
|
||||
/* don't accidentally run as anonymous */
|
||||
if ((access_key == "") ||
|
||||
(secret_key == "")) {
|
||||
std::cout << argv[0] << " no AWS credentials, exiting" << std::endl;
|
||||
|
@ -476,7 +476,7 @@ int main(int argc, char *argv[])
|
||||
}
|
||||
}
|
||||
|
||||
/* dont accidentally run as anonymous */
|
||||
/* don't accidentally run as anonymous */
|
||||
if ((access_key == "") ||
|
||||
(secret_key == "")) {
|
||||
std::cout << argv[0] << " no AWS credentials, exiting" << std::endl;
|
||||
|
@ -1179,7 +1179,7 @@ int main(int argc, char *argv[])
|
||||
}
|
||||
}
|
||||
|
||||
/* dont accidentally run as anonymous */
|
||||
/* don't accidentally run as anonymous */
|
||||
if ((access_key == "") ||
|
||||
(secret_key == "")) {
|
||||
std::cout << argv[0] << " no AWS credentials, exiting" << std::endl;
|
||||
|
@ -103,7 +103,7 @@ int main(int argc, char *argv[])
|
||||
}
|
||||
}
|
||||
|
||||
/* dont accidentally run as anonymous */
|
||||
/* don't accidentally run as anonymous */
|
||||
if (access_key == "") {
|
||||
std::cout << argv[0] << " no AWS credentials, exiting" << std::endl;
|
||||
return EPERM;
|
||||
|
Loading…
Reference in New Issue
Block a user