code: protected InstanceInfo.Status translateState(HealthStatus status) {
          if (status.equals(HealthStatus.UP)) {
              return InstanceInfo.Status.UP;
          }
          return InstanceInfo.Status.DOWN;
      }
docs: Translate a {@link HealthStatus} to a Eureka {@link io.micronaut.discovery.eureka.client.v2.InstanceInfo.Status}.
  
  @param status The status
  @return The {@link io.micronaut.discovery.eureka.client.v2.InstanceInfo.Status} instance