projects
/
kraftakt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
208a237
)
handleNotification(): Fix format string.
author
Florian Forster
<ff@octo.it>
Mon, 29 Jan 2018 11:44:51 +0000
(12:44 +0100)
committer
Florian Forster
<ff@octo.it>
Mon, 29 Jan 2018 11:44:51 +0000
(12:44 +0100)
kraftakt.go
patch
|
blob
|
history
diff --git
a/kraftakt.go
b/kraftakt.go
index
afb5e4d
..
b49f787
100644
(file)
--- a/
kraftakt.go
+++ b/
kraftakt.go
@@
-322,7
+322,7
@@
func handleNotification(ctx context.Context, s *fitbit.Subscription) error {
break
}
if err := gfitClient.SetDistance(ctx, distanceMeters, tm); err != nil {
- errs = append(errs, fmt.Errorf("gfitClient.SetDistance(%
d
) = %v", distanceMeters, err))
+ errs = append(errs, fmt.Errorf("gfitClient.SetDistance(%
g
) = %v", distanceMeters, err))
return
}
}()