Skip to content

Commit

Permalink
reformat code
Browse files Browse the repository at this point in the history
  • Loading branch information
PeppaO committed Nov 3, 2023
1 parent 929549b commit e1a663f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -158,10 +158,10 @@ public static <T> List<T> getListFromJson(String json, Class<T> classz) {
}
}

public static Object jedisEvalSha(Jedis jedis, String luaSHA, String luaFileName, List<String> keys, List<String> args){
public static Object jedisEvalSha(Jedis jedis, String luaSHA, String luaFileName, List<String> keys, List<String> args) {
try {
return jedis.evalsha(luaSHA, keys, args);
}catch (JedisNoScriptException e) {
} catch (JedisNoScriptException e) {
LOGGER.warn("jedis ex: " + e.getMessage());
jedis.scriptLoad(LUA_FILE_MAP.get(luaFileName));
return jedis.evalsha(luaSHA, keys, args);
Expand Down

0 comments on commit e1a663f

Please sign in to comment.