updateServices function

Future<bool> updateServices(
  1. UpperProject upperJson, {
  2. required String path,
})

Implementation

Future<bool> updateServices(
  UpperProject upperJson, {
  required String path,
}) async {
  print('updating services . . .');
  for (var service in upperJson.services) {
    print('updating ${service.name} . . .');
    (!(await updateService(
      service,
      port: upperJson.portNumer,
      path: path,
    )));
  }

  return true;
}