File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ package main
1616//
1717// You can also compare the resulting measurements with a list of expected measurements:
1818//
19- // go run cmd/get-measurements/main.go --addr=https://instance_ip:port --expected-measurements measurements.json
19+ // go run cmd/get-measurements/main.go --addr=https://instance_ip:port --expected-measurements= measurements.json
2020//
2121
2222import (
Original file line number Diff line number Diff line change @@ -16,8 +16,8 @@ import (
1616 "github.com/flashbots/cvm-reverse-proxy/internal/attestation/measurements"
1717)
1818
19- // MultiMeasurements is holds several known measurements, and can check if a
20- // given measurements matches a known one .
19+ // MultiMeasurements holds several known measurements, and can check if
20+ // given measurements match known ones .
2121type MultiMeasurements struct {
2222 Measurements []MeasurementsContainer
2323}
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ FROM alpine:latest
1818WORKDIR /app
1919COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
2020COPY --from=builder /build/proxy-server /app/proxy-server
21- RUN echo "{ \" azure-tdx \" : {}} " > /app/measurements-empty.json
21+ RUN echo "[{}] " > /app/measurements-empty.json
2222ENV LISTEN_ADDR=":8080"
2323EXPOSE 8080
2424CMD ["/app/proxy-server" ]
You can’t perform that action at this time.
0 commit comments