[testrunner] Style nit: initialize output.Tar directly
Change-Id: I0e515783a67f38a0f1f3f1e71fe0273cde303ef1
diff --git a/cmd/testrunner/main.go b/cmd/testrunner/main.go
index aba09b8..3910b9d 100644
--- a/cmd/testrunner/main.go
+++ b/cmd/testrunner/main.go
@@ -140,11 +140,10 @@
// Add an archive Output if specified.
if archive != "" {
- tar, err := NewTarOutput(archive)
+ output.Tar, err = NewTarOutput(archive)
if err != nil {
log.Fatalf("failed to initialize tar recorder: %v", err)
}
- output.Tar = tar
}
// Prepare the Fuchsia DeviceContext, which will be nil if the testrunner is