Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 6ee680b

Browse files
committedOct 6, 2015
use go1.5 syntax to ensure builds on older versions fail
License: MIT Signed-off-by: Jeromy <jeromyj@gmail.com>
1 parent d41f1d9 commit 6ee680b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎cmd/ipfs/main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -483,7 +483,7 @@ func startProfiling() (func(), error) {
483483
}
484484
pprof.StartCPUProfile(ofi)
485485
go func() {
486-
for _ = range time.NewTicker(time.Second * 30).C {
486+
for range time.NewTicker(time.Second * 30).C {
487487
err := writeHeapProfileToFile()
488488
if err != nil {
489489
log.Error(err)

0 commit comments

Comments
 (0)
Please sign in to comment.