Skip to content

Commit

Permalink
ignore cldr-json update from R2
Browse files Browse the repository at this point in the history
  • Loading branch information
xtuc committed Feb 8, 2024
1 parent f3bdfb4 commit 5d42894
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions functions/r2-pump/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,12 @@ func Invoke(ctx context.Context, e gcp.GCSEvent) error {
version := e.Metadata["version"].(string)
log.Printf("Invoke %s %s\n", pkgName, version)

// This update is causing timeouts, ignore for now and sync storages later.
if pkgName == "cldr-json" && version == "srl295/random-v44" {
log.Printf("update is ignored\n")
return nil
}

configStr, err := b64.StdEncoding.DecodeString(e.Metadata["config"].(string))
if err != nil {
return fmt.Errorf("could not decode config: %v", err)
Expand Down

0 comments on commit 5d42894

Please sign in to comment.