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

Unified Diff: ct/go/worker_scripts/fix_archives/main.go

Issue 1872763002: [CT] Split benchmarkArgs around one or more consecutive white spaces (Closed) Base URL: https://skia.googlesource.com/buildbot@master
Patch Set: Initial upload Created 4 years, 8 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
« no previous file with comments | « no previous file | ct/go/worker_scripts/run_chromium_perf/main.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ct/go/worker_scripts/fix_archives/main.go
diff --git a/ct/go/worker_scripts/fix_archives/main.go b/ct/go/worker_scripts/fix_archives/main.go
index 147936edbf8d3142677e703b0bfe649759344041..86145f462d4e73be8b0e80005d0e138163614383 100644
--- a/ct/go/worker_scripts/fix_archives/main.go
+++ b/ct/go/worker_scripts/fix_archives/main.go
@@ -163,7 +163,7 @@ func main() {
args = append(args, "--browser=exact", "--browser-executable="+chromiumBinary)
// Split benchmark args if not empty and append to args.
if *benchmarkArgs != "" {
- for _, benchmarkArg := range strings.Split(*benchmarkArgs, " ") {
+ for _, benchmarkArg := range strings.Fields(*benchmarkArgs) {
args = append(args, benchmarkArg)
}
}
« no previous file with comments | « no previous file | ct/go/worker_scripts/run_chromium_perf/main.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698