Switching from FixedBuild to FixedBuilds (part 2). (#16465)
Switching from FixedBuild to FixedBuilds (part 2). #16412
This commit is contained in:
@@ -41,9 +41,13 @@ func main() {
|
||||
msrcAPI := msrc.NewMSRCClient(httpC, inPath, msrc.MSRCBaseURL)
|
||||
|
||||
fmt.Println("Downloading existing bulletins...")
|
||||
eBulletins, err := ghAPI.MSRCBulletins(ctx)
|
||||
// TODO: Remove this once we have transitioned to FixedBuilds. This forces us to refresh all data.
|
||||
/*eBulletins*/
|
||||
_, err = ghAPI.MSRCBulletins(ctx)
|
||||
panicif(err)
|
||||
|
||||
eBulletins := make(map[io.MetadataFileName]string)
|
||||
|
||||
var bulletins []*parsed.SecurityBulletin
|
||||
if len(eBulletins) == 0 {
|
||||
fmt.Println("None found, backfilling...")
|
||||
|
||||
Reference in New Issue
Block a user