Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1179)

Unified Diff: logdog/common/storage/bigtable/initialize.go

Issue 2951393002: [errors] de-specialize Transient in favor of Tags. (Closed)
Patch Set: copyright Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: logdog/common/storage/bigtable/initialize.go
diff --git a/logdog/common/storage/bigtable/initialize.go b/logdog/common/storage/bigtable/initialize.go
index 9555c96ccb5351fc33627fecbdf764fcd05b5d6e..76c6f325d968caad9db284a7cf04189751bc5653 100644
--- a/logdog/common/storage/bigtable/initialize.go
+++ b/logdog/common/storage/bigtable/initialize.go
@@ -47,7 +47,7 @@ func waitForTable(ctx context.Context, c *bigtable.AdminClient, name string) err
return err
}
if !exists {
- return errors.WrapTransient(errors.New("table does not exist"))
+ return errors.New("table does not exist", retry.Tag)
}
return nil
}, func(err error, delay time.Duration) {

Powered by Google App Engine
This is Rietveld 408576698