Skip to content

Commit

Permalink
[iam] Removed redundant spaces for logs in certhandler
Browse files Browse the repository at this point in the history
Signed-off-by: Mykola Kobets <[email protected]>
  • Loading branch information
mykola-kobets-epam committed Oct 4, 2024
1 parent 2b53df7 commit 685eb60
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/iam/certhandler/certhandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Error CertHandler::RegisterModule(CertModule& module)
{
LockGuard lock {mMutex};

LOG_INF() << "Register module: type = " << module.GetCertType();
LOG_INF() << "Register module: type=" << module.GetCertType();

return AOS_ERROR_WRAP(mModules.PushBack(&module));
}
Expand All @@ -48,7 +48,7 @@ Error CertHandler::SetOwner(const String& certType, const String& password)
{
LockGuard lock {mMutex};

LOG_DBG() << "Set owner: type = " << certType;
LOG_DBG() << "Set owner: type=" << certType;

auto* module = FindModule(certType);
if (module == nullptr) {
Expand All @@ -67,7 +67,7 @@ Error CertHandler::Clear(const String& certType)
{
LockGuard lock {mMutex};

LOG_DBG() << "Clear all certificates: type = " << certType;
LOG_DBG() << "Clear all certificates: type=" << certType;

auto* module = FindModule(certType);
if (module == nullptr) {
Expand All @@ -87,7 +87,7 @@ Error CertHandler::CreateKey(
{
LockGuard lock {mMutex};

LOG_DBG() << "Create key: type = " << certType << ", subject = " << subjectCommonName;
LOG_DBG() << "Create key: type=" << certType << ", subject=" << subjectCommonName;

auto* module = FindModule(certType);
if (module == nullptr) {
Expand All @@ -111,7 +111,7 @@ Error CertHandler::ApplyCertificate(const String& certType, const String& pemCer
{
LockGuard lock {mMutex};

LOG_DBG() << "Apply cert: type = " << certType;
LOG_DBG() << "Apply cert: type=" << certType;

auto* module = FindModule(certType);
if (module == nullptr) {
Expand All @@ -138,7 +138,7 @@ Error CertHandler::GetCertificate(
return AOS_ERROR_WRAP(err);
}

LOG_DBG() << "Get certificate: type = " << certType << ", serial = " << serialInHex;
LOG_DBG() << "Get certificate: type=" << certType << ", serial=" << serialInHex;

auto* module = FindModule(certType);
if (module == nullptr) {
Expand All @@ -157,7 +157,7 @@ Error CertHandler::SubscribeCertReceiver(const String& certType, CertReceiverItf
{
LockGuard lock {mMutex};

LOG_DBG() << "Subscribe certificate receiver: type = " << certType;
LOG_DBG() << "Subscribe certificate receiver: type=" << certType;

auto* module = FindModule(certType);
if (module == nullptr) {
Expand Down Expand Up @@ -198,7 +198,7 @@ Error CertHandler::CreateSelfSignedCert(const String& certType, const String& pa
{
LockGuard lock {mMutex};

LOG_DBG() << "Create self signed cert: type = " << certType;
LOG_DBG() << "Create self signed cert: type=" << certType;

auto* module = FindModule(certType);
if (module == nullptr) {
Expand Down

0 comments on commit 685eb60

Please sign in to comment.