Simplify condition check in adapter_get_agent
1 file changed