Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanhellander committed Jul 16, 2024
1 parent e9815a5 commit acf4d9b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
1 change: 0 additions & 1 deletion fedn/network/api/interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@ def get_all_combiners(self, limit=None, skip=None):
response = self.statestore.get_combiners(limit, skip, projection=projection)
arr = []
for element in response["result"]:
print(element, flush=True)
obj = {
"name": element["name"],
"updated_at": element["updated_at"],
Expand Down
9 changes: 0 additions & 9 deletions fedn/network/api/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -631,19 +631,10 @@ def list_combiners_data():


def check_health(host, fqdn, port):
# Server address and port
server_address = f"{fqdn}:{port}"

# Create the gRPC channel
channel = grpc.secure_channel(server_address, grpc.ssl_channel_credentials())

# Add the metadata
metadata = [('grpc-server', host)]

# Create the health check stub
stub = health_pb2_grpc.HealthStub(channel)

# Create the health check request
request = health_pb2.HealthCheckRequest(service='')

try:
Expand Down

0 comments on commit acf4d9b

Please sign in to comment.