Skip to content
Snippets Groups Projects
Commit 9d47b262 authored by Vincent Massol's avatar Vincent Massol
Browse files

[Misc] Small refactoring to use a method unstead of a class variable

parent 7dd9f78d
No related branches found
No related tags found
No related merge requests found
......@@ -142,7 +142,7 @@ public String getHostIP()
*/
public String getInternalIP()
{
return isOutsideDocker ? HOST_INTERNAL : "xwikiweb";
return isOutsideDocker() ? HOST_INTERNAL : "xwikiweb";
}
/**
......@@ -179,6 +179,6 @@ public String getPermanentDirectory()
*/
public String getDockerImageName()
{
return dockerImageName;
return this.dockerImageName;
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment