commit | e05cf0c5697505e66db1c1d835404515692f38ae | [log] [tgz] |
---|---|---|
author | David K. Bainbridge <dbainbri@ciena.com> | Thu Aug 19 03:16:50 2021 +0000 |
committer | khenaidoo <knursimu@ciena.com> | Tue Oct 05 13:56:30 2021 -0400 |
tree | a73ca94c98900416fc5f8ff66ce4544795d61dc9 | |
parent | e20dc1bfc9ca482917f50068ef71955129b982fa [diff] [blame] |
[VOL-4291] OfAgent changes for gRPC migration Change-Id: I8da1db6df49d478ef24ec8f9bd719e9692f48a7f
diff --git a/vendor/go.uber.org/zap/zapcore/write_syncer.go b/vendor/go.uber.org/zap/zapcore/write_syncer.go index 209e25f..d4a1af3 100644 --- a/vendor/go.uber.org/zap/zapcore/write_syncer.go +++ b/vendor/go.uber.org/zap/zapcore/write_syncer.go
@@ -91,8 +91,7 @@ if len(ws) == 1 { return ws[0] } - // Copy to protect against https://github.com/golang/go/issues/7809 - return multiWriteSyncer(append([]WriteSyncer(nil), ws...)) + return multiWriteSyncer(ws) } // See https://golang.org/src/io/multi.go