public Instant getWorkerPoolLastDeploymentTime()

in src/main/java/com/google/cloud/run/kafkascaler/clients/CloudRunClientWrapper.java [100:105]


  public Instant getWorkerPoolLastDeploymentTime(String workerpoolName) throws IOException {
    GoogleCloudRunV2WorkerPool workerpool = getWorkerPool(workerpoolName);
    return workerpool.getUpdateTime() == null
        ? Instant.EPOCH
        : Instant.parse(workerpool.getUpdateTime());
  }