Fetch networks instead of volumes (#59)

This commit is contained in:
k----n 2022-01-18 07:08:25 -07:00 committed by GitHub
parent 3ff9b0ccff
commit e1dfdc65f2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -241,7 +241,7 @@ function makeVerticesAndEdges(Graph $graph, array $services, array $volumes, arr
$configuration = readConfiguration(dirname($path).DIRECTORY_SEPARATOR.$definition['extends']['file']); $configuration = readConfiguration(dirname($path).DIRECTORY_SEPARATOR.$definition['extends']['file']);
$extendedServices = fetchServices($configuration); $extendedServices = fetchServices($configuration);
$extendedVolumes = fetchVolumes($configuration); $extendedVolumes = fetchVolumes($configuration);
$extendedNetworks = fetchVolumes($configuration); $extendedNetworks = fetchNetworks($configuration);
$graph = makeVerticesAndEdges($graph, $extendedServices, $extendedVolumes, $extendedNetworks, dirname($path).DIRECTORY_SEPARATOR.$definition['extends']['file'], $flags); $graph = makeVerticesAndEdges($graph, $extendedServices, $extendedVolumes, $extendedNetworks, dirname($path).DIRECTORY_SEPARATOR.$definition['extends']['file'], $flags);
} }