Skip to content

Commit e7b0522

Browse files
committed
Use EE::docker()::create_network() function
Signed-off-by: Kirtan Gajjar <[email protected]>
1 parent 1f28234 commit e7b0522

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

php/site-utils.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ function init_checks() {
9595

9696
$EE_CONF_ROOT = EE_CONF_ROOT;
9797
if ( ! EE::docker()::docker_network_exists( 'ee-global-network' ) ) {
98-
if ( ! EE::exec( 'docker network create ee-global-network' ) ) {
98+
if ( ! EE::docker()::create_network( 'ee-global-network' ) ) {
9999
EE::error( 'Unable to create network ee-global-network' );
100100
}
101101
}

0 commit comments

Comments
 (0)