Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
Signed-off-by: Ashish Tiwari <[email protected]>
  • Loading branch information
Revolyssup committed Aug 3, 2023
1 parent d6a9f0b commit ff0d34f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions apisix/discovery/nacos/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -361,8 +361,9 @@ function _M.nodes(service_name, discovery_args)
waiting_time = waiting_time - step
end

if not applications or not applications[namespace_id] or not applications[namespace_id][group_name] then
return nil
if not applications or not applications[namespace_id]
or not applications[namespace_id][group_name] then
return nil
end
return applications[namespace_id][group_name][service_name]
end
Expand Down

0 comments on commit ff0d34f

Please sign in to comment.