Skip to content

Commit e4b43a7

Browse files
authored
fix: relations proto GCS path was incorrect (#4844)
oops
1 parent 3795e75 commit e4b43a7

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

go/cmd/relations/update.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ package main
1717
import (
1818
"context"
1919
"errors"
20+
"fmt"
2021
"log/slog"
2122
"slices"
2223
"strings"
@@ -86,7 +87,7 @@ func (u *Updater) run(ctx context.Context) {
8687
// TODO: Parallelize these updates using a worker pool.
8788
for id, updates := range allUpdates {
8889
// Get the vulnerability from GCS
89-
path := id + ".pb"
90+
path := fmt.Sprintf("all/pb/%s.pb", id)
9091
data, err := u.gcsClient.ReadObject(ctx, path)
9192
if err != nil {
9293
if errors.Is(err, clients.ErrNotFound) {

0 commit comments

Comments
 (0)