diff options
Diffstat (limited to 'cmd/future-sight')
| -rw-r--r-- | cmd/future-sight/main.go | 2 | ||||
| -rw-r--r-- | cmd/future-sight/manifest.yaml | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/cmd/future-sight/main.go b/cmd/future-sight/main.go index 4948324..3aa62de 100644 --- a/cmd/future-sight/main.go +++ b/cmd/future-sight/main.go @@ -191,6 +191,8 @@ func (s *Server) UploadVersion(w http.ResponseWriter, r *http.Request) { return } + fout.Seek(0, 0) + hash, err := hashFileSha256(fout) if err != nil { slog.Error("failed to hash file", "err", err) diff --git a/cmd/future-sight/manifest.yaml b/cmd/future-sight/manifest.yaml index 3260bd5..e866d0e 100644 --- a/cmd/future-sight/manifest.yaml +++ b/cmd/future-sight/manifest.yaml @@ -223,4 +223,4 @@ spec: service: name: future-sight port: - name: http
\ No newline at end of file + name: web
\ No newline at end of file |
