glog icon indicating copy to clipboard operation
glog copied to clipboard

Fix missing arguments in print-like function

Open eclipseo opened this issue 5 years ago • 0 comments

Signed-off-by: Robert-André Mauchin [email protected]

Fix the following error on Go 1.15:

Testing    in: /builddir/build/BUILD/glog-d7cfb6fa2ccda15565f68f204d68907c80a5c977/_build/src
         PATH: /builddir/build/BUILD/glog-d7cfb6fa2ccda15565f68f204d68907c80a5c977/_build/bin:/builddir/.local/bin:/builddir/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin
       GOPATH: /builddir/build/BUILD/glog-d7cfb6fa2ccda15565f68f204d68907c80a5c977/_build:/usr/share/gocode
  GO111MODULE: off
      command: go test -buildmode pie -compiler gc -ldflags "-X github.com/istio/glog/version=0 -X github.com/istio/glog/version.commit=d7cfb6fa2ccda15565f68f204d68907c80a5c977 -extldflags '-Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld '"
      testing: github.com/istio/glog
github.com/istio/glog
# github.com/istio/glog
./glog.go:53:7: missing ... in args forwarded to print-like function
./glog.go:74:7: missing ... in args forwarded to print-like function
./glog.go:95:7: missing ... in args forwarded to print-like function
./glog.go:116:7: missing ... in args forwarded to print-like function
./glog.go:139:7: missing ... in args forwarded to print-like function
./glog.go:164:7: missing ... in args forwarded to print-like function
FAIL	github.com/istio/glog [build failed]

eclipseo avatar Aug 11 '20 20:08 eclipseo