INNER CODE UNIT · JavaScript

snapshot_date

democratic-csi/democratic-csi · src/driver/controller-client-common/index.js:1258

            snapshot_date = new Date(response.startTime); // maybe use endTime?
            let snapshot_end_date = new Date(response.endTime);
            let total_duration =
              Math.abs(snapshot_end_date.getTime() - snapshot_date.getTime()) /
              1000;
            size_bytes = response.rootEntry.summ.size;

            driver.ctx.logger.info(
              `kopia backup finished: snapshot_id=${snapshot_id}, path=${volume_path}, total_duration=${
                total_duration | 0
              }s`
            );
          }
        }
        break;
      default:
        throw new GrpcError(
          grpc.status.INVALID_ARGUMENT,

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…