Index: fuzzer/go/common/version_watcher.go |
diff --git a/fuzzer/go/common/version_watcher.go b/fuzzer/go/common/version_watcher.go |
index 122275f5f4b891518c257741723a3e1820425ef4..d96f19b531db2bd904a231722df3a19f2ba25156 100644 |
--- a/fuzzer/go/common/version_watcher.go |
+++ b/fuzzer/go/common/version_watcher.go |
@@ -5,6 +5,7 @@ import ( |
"time" |
"github.com/skia-dev/glog" |
+ "go.skia.org/infra/fuzzer/go/config" |
"go.skia.org/infra/go/vcsinfo" |
"google.golang.org/cloud/storage" |
) |
@@ -78,6 +79,14 @@ func (vw *VersionWatcher) Start() { |
vw.lastCurrentHash = current |
} |
+ if config.Common.ForceReanalysis { |
+ if _, err := vw.onPendingChange(vw.lastCurrentHash); err != nil { |
+ glog.Errorf("There was a problem during force analysis: %s", err) |
+ } |
+ config.Common.ForceReanalysis = false |
jcgregorio
2016/02/05 20:37:19
Will this ever get turned back on?
kjlubick
2016/02/05 20:41:02
No. It's only set by the command flag.
|
+ return |
+ } |
+ |
pending, err := GetPendingSkiaVersionFromGCS(vw.storageClient) |
if err != nil { |
glog.Errorf("Failed getting pending Skia version from GCS. Going to try again: %s", err) |