changed redis port to int
parent
3e329d99cd
commit
346bf011bd
|
@ -28,7 +28,7 @@ public class ConfigHandler {
|
|||
private String mongodbPassword;
|
||||
|
||||
private String redisHost;
|
||||
private String redisPort;
|
||||
private int redisPort;
|
||||
|
||||
public void load() throws IOException, InvalidConfigurationException {
|
||||
File file = new File(defaultConfigPath, "kraSettings.yaml");
|
||||
|
@ -52,6 +52,6 @@ public class ConfigHandler {
|
|||
mongodbPassword = fileConfiguration.getString("mongodb.password");
|
||||
|
||||
redisHost = fileConfiguration.getString("redis.host");
|
||||
redisPort = fileConfiguration.getString("redis.port");
|
||||
redisPort = fileConfiguration.getInt("redis.port");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue