From e1dfdc65f26776952316bcefe68a50998778f8a6 Mon Sep 17 00:00:00 2001 From: k----n <9467666+k----n@users.noreply.github.com> Date: Tue, 18 Jan 2022 07:08:25 -0700 Subject: [PATCH] Fetch networks instead of volumes (#59) --- src/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/functions.php b/src/functions.php index c46f8bc..72a7128 100644 --- a/src/functions.php +++ b/src/functions.php @@ -241,7 +241,7 @@ function makeVerticesAndEdges(Graph $graph, array $services, array $volumes, arr $configuration = readConfiguration(dirname($path).DIRECTORY_SEPARATOR.$definition['extends']['file']); $extendedServices = fetchServices($configuration); $extendedVolumes = fetchVolumes($configuration); - $extendedNetworks = fetchVolumes($configuration); + $extendedNetworks = fetchNetworks($configuration); $graph = makeVerticesAndEdges($graph, $extendedServices, $extendedVolumes, $extendedNetworks, dirname($path).DIRECTORY_SEPARATOR.$definition['extends']['file'], $flags); }