Commit 82cf6e38 authored by Lluis Gifre Renom's avatar Lluis Gifre Renom
Browse files

Multiple pre-release fixes

parent e597be50
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -37,7 +37,7 @@ spec:
        - containerPort: 9192
        - containerPort: 9192
        env:
        env:
        - name: LOG_LEVEL
        - name: LOG_LEVEL
          value: "INFO"
          value: "DEBUG"
        readinessProbe:
        readinessProbe:
          exec:
          exec:
            command: ["/bin/grpc_health_probe", "-addr=:9090"]
            command: ["/bin/grpc_health_probe", "-addr=:9090"]
+1 −1
Original line number Original line Diff line number Diff line
@@ -36,7 +36,7 @@ spec:
        - containerPort: 9192
        - containerPort: 9192
        env:
        env:
        - name: LOG_LEVEL
        - name: LOG_LEVEL
          value: "INFO"
          value: "DEBUG"
        readinessProbe:
        readinessProbe:
          exec:
          exec:
            command: ["/bin/grpc_health_probe", "-addr=:10020"]
            command: ["/bin/grpc_health_probe", "-addr=:10020"]
+1 −1
Original line number Original line Diff line number Diff line
@@ -36,7 +36,7 @@ spec:
        - containerPort: 9192
        - containerPort: 9192
        env:
        env:
        - name: LOG_LEVEL
        - name: LOG_LEVEL
          value: "INFO"
          value: "DEBUG"
        readinessProbe:
        readinessProbe:
          exec:
          exec:
            command: ["/bin/grpc_health_probe", "-addr=:3030"]
            command: ["/bin/grpc_health_probe", "-addr=:3030"]
+1 −1
Original line number Original line Diff line number Diff line
@@ -36,7 +36,7 @@ spec:
        - containerPort: 9192
        - containerPort: 9192
        env:
        env:
        - name: LOG_LEVEL
        - name: LOG_LEVEL
          value: "INFO"
          value: "DEBUG"
        - name: SLICE_GROUPING
        - name: SLICE_GROUPING
          value: "DISABLE"
          value: "DISABLE"
        envFrom:
        envFrom:
+1 −1
Original line number Original line Diff line number Diff line
@@ -111,7 +111,7 @@ def process_site_network_access(context_client : ContextClient, site_id : str, s
            str_location_id = grpc_message_to_json_string(constraint.endpoint_location.location)
            str_location_id = grpc_message_to_json_string(constraint.endpoint_location.location)
            location_endpoints.setdefault(str_location_id, set()).add(str_endpoint_id)
            location_endpoints.setdefault(str_location_id, set()).add(str_endpoint_id)
        num_endpoints_per_location = {len(endpoints) for endpoints in location_endpoints.values()}
        num_endpoints_per_location = {len(endpoints) for endpoints in location_endpoints.values()}
        num_disjoint_paths = min(num_endpoints_per_location)
        num_disjoint_paths = max(num_endpoints_per_location)
        update_constraint_sla_availability(constraints, num_disjoint_paths, all_active, 0.0)
        update_constraint_sla_availability(constraints, num_disjoint_paths, all_active, 0.0)


    return target
    return target
Loading