Skip to content

Commit

Permalink
style fix
Browse files Browse the repository at this point in the history
  • Loading branch information
chronolaw committed Oct 25, 2024
1 parent 7ec6e82 commit 1ae5171
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kong/clustering/services/sync/rpc.lua
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ function _M:init_cp(manager)
end

local latest_version, err = self.strategy:get_latest_version()
if latest_version == nil then
if not latest_version then
return nil, err
end

Expand Down

0 comments on commit 1ae5171

Please sign in to comment.