Skip to content

Commit e826af8

Browse files
authored
Merge branch 'master' into auth_for_scan
2 parents f8cb2d8 + aefa527 commit e826af8

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

client/src/main/java/com/vesoft/nebula/client/storage/StorageClient.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,13 +51,15 @@ public class StorageClient implements Serializable {
5151
private boolean enableSSL = false;
5252
private SSLParam sslParam = null;
5353

54+
5455
private String user = null;
5556
private String password = null;
5657

5758
private String graphAddress = null;
5859

5960
// the write list for users with read permission
6061
private Map<String, List<String>> spaceLabelWriteList = null;
62+
6163
private String version = null;
6264

6365
/**
@@ -129,6 +131,7 @@ public void setGraphAddress(String graphAddress) {
129131
this.graphAddress = graphAddress;
130132
}
131133

134+
132135
public StorageClient setVersion(String version) {
133136
this.version = version;
134137
return this;

client/src/test/java/com/vesoft/nebula/client/storage/StorageClientTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ public void testStorageClientWithVersionInWhiteList() {
6060
List<HostAddress> address = Arrays.asList(new HostAddress(ip, 9559));
6161
StorageClient storageClient = new StorageClient(address);
6262
try {
63+
6364
storageClient.setGraphAddress("127.0.0.1:9669");
6465
storageClient.setUser("root");
6566
storageClient.setPassword("nebula");

0 commit comments

Comments
 (0)