Skip to content

Commit

Permalink
chore(api): better code for white ip list
Browse files Browse the repository at this point in the history
  • Loading branch information
SunnyBoy-WYH committed Sep 27, 2023
1 parent a4f3644 commit 73b4c3b
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
import org.apache.hugegraph.api.filter.StatusFilter;
import org.apache.hugegraph.auth.AuthManager;
import org.apache.hugegraph.core.GraphManager;
import org.apache.hugegraph.server.RestServer;
import org.apache.hugegraph.util.E;
import org.apache.hugegraph.util.Log;
import org.slf4j.Logger;
Expand All @@ -53,7 +52,7 @@
@Singleton
public class WhiteIpListAPI extends API {

Check warning on line 53 in hugegraph-api/src/main/java/org/apache/hugegraph/api/profile/WhiteIpListAPI.java

View check run for this annotation

Codecov / codecov/patch

hugegraph-api/src/main/java/org/apache/hugegraph/api/profile/WhiteIpListAPI.java#L53

Added line #L53 was not covered by tests

private static final Logger LOG = Log.logger(RestServer.class);
private static final Logger LOG = Log.logger(WhiteIpListAPI.class);

Check warning on line 55 in hugegraph-api/src/main/java/org/apache/hugegraph/api/profile/WhiteIpListAPI.java

View check run for this annotation

Codecov / codecov/patch

hugegraph-api/src/main/java/org/apache/hugegraph/api/profile/WhiteIpListAPI.java#L55

Added line #L55 was not covered by tests

@GET
@Timed
Expand Down

0 comments on commit 73b4c3b

Please sign in to comment.