mirror of
https://github.com/unraid/webgui.git
synced 2026-04-23 18:48:49 -05:00
Minor code correction
This commit is contained in:
@@ -797,7 +797,7 @@ class DockerUtil {
|
||||
|
||||
public static function myIP($name, $version=4) {
|
||||
$ipaddr = $version==4 ? 'IPAddress' : 'GlobalIPv6Address';
|
||||
return DockerUtil::docker("inspect --format='{{range .NetworkSettings.Networks}}{{.$ipaddr}}{{end}}' $name");
|
||||
return self::docker("inspect --format='{{range .NetworkSettings.Networks}}{{.$ipaddr}}{{end}}' $name");
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user