Skip to content

Commit

Permalink
fix clang-tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
empiredan committed Nov 21, 2024
1 parent d87dedf commit 0336777
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/meta/test/server_state_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ class server_state_test
ASSERT_EQ(dsn::ERR_OK, _ss->sync_apps_to_remote_storage());
}

std::shared_ptr<app_state> get_app(const std::string &app_name) const
[[nodiscard]] std::shared_ptr<app_state> get_app(const std::string &app_name) const
{
return _ss->get_app(app_name);
}
Expand Down Expand Up @@ -253,7 +253,7 @@ void meta_service_test_app::app_envs_basic_test()
#undef TEST_SET_APP_ENVS_FAILED

// Normal case for setting envs.
std::cout << "test server_state::set_app_envs()..." << std::endl;
std::cout << "test server_state::set_app_envs(success)..." << std::endl;
{
configuration_update_app_env_request request;
request.__set_app_name("test_app1");
Expand Down

0 comments on commit 0336777

Please sign in to comment.