Skip to content

Commit

Permalink
Fix linting errors
Browse files Browse the repository at this point in the history
Signed-off-by: methylDragon <methylDragon@gmail.com>
  • Loading branch information
methylDragon committed May 29, 2022
1 parent 2d73ee6 commit f4deacb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion log/include/gz/transport/log/Log.hh
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ namespace gz
const std::string SchemaLocationEnvVar = "GZ_TRANSPORT_LOG_SQL_PATH";

// TODO(CH3): Deprecated. Remove this on ticktock.
const std::string SchemaLocationEnvVarDeprecated = "IGN_TRANSPORT_LOG_SQL_PATH";
const std::string SchemaLocationEnvVarDeprecated = \
"IGN_TRANSPORT_LOG_SQL_PATH";

/// \brief Interface to a log file
class GZ_TRANSPORT_LOG_VISIBLE Log
Expand Down
3 changes: 2 additions & 1 deletion log/src/Log.cc
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,8 @@ bool Log::Open(const std::string &_file, const std::ios_base::openmode _mode)
{
LWRN("Found schema using deprecated environment variable ["
<< SchemaLocationEnvVarDeprecated.c_str()
<< "]. Please use [" << SchemaLocationEnvVar.c_str() << "] instead.");
<< "]. Please use [" << SchemaLocationEnvVar.c_str()
<< "] instead.");
}
}

Expand Down

0 comments on commit f4deacb

Please sign in to comment.