Skip to content

Commit 2b8ec14

Browse files
committed
lint
1 parent 54052d2 commit 2b8ec14

File tree

1 file changed

+6
-14
lines changed

1 file changed

+6
-14
lines changed

framework/cmd/main.go

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ Be aware that any TODO requires your attention before your run the final test!
382382
product := c.String("product")
383383
skipPull := c.Bool("skip-pull")
384384

385-
// sotURL := c.String("sot-url")
385+
sotURL := c.String("sot-url")
386386

387387
// test logic is:
388388
// - rollback to selected ref
@@ -407,19 +407,11 @@ Be aware that any TODO requires your attention before your run the final test!
407407
if product != "" {
408408
// TODO: Stub, until versions are mapped properly and not skipped this is just an example
409409
// Both Git, ECR and "versions" from SOT data do not match
410-
// refs, err = framework.FindNOPsVersionsByProduct(sotURL, product, exclude) //nolint:errcheck
411-
// if err != nil {
412-
// return err
413-
// }
414-
// refs = []string{
415-
// "2.36.1-rc.0",
416-
// "2.36.1-beta.0",
417-
// "2.36.1-beta.2",
418-
// "2.37.0-rc.0",
419-
// "2.37.0-beta.0",
420-
// "2.38.0-rc.0",
421-
// "2.38.0-beta.0",
422-
// }
410+
// so we fetch the data but do not use it for now
411+
_, err := framework.FindNOPsVersionsByProduct(sotURL, product, exclude)
412+
if err != nil {
413+
return err
414+
}
423415
}
424416

425417
framework.L.Info().

0 commit comments

Comments
 (0)