Skip to content

Commit

Permalink
Update src/runtime/ranger/ranger_resource_policy_manager.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
acelyc111 authored Mar 16, 2023
1 parent e1a728d commit 0c19eeb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/runtime/ranger/ranger_resource_policy_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,7 @@ void ranger_resource_policy_manager::dump_and_sync_policies()
update_cached_policies();
LOG_DEBUG("Update using resources policies succeed.");

if (dsn::ERR_OK == sync_policies_to_app_envs()) {
if (dsn::ERR_OK != sync_policies_to_app_envs()) {
LOG_ERROR("Sync policies to app envs failed.");
}
}
Expand Down

0 comments on commit 0c19eeb

Please sign in to comment.