Skip to content

Commit

Permalink
ensure ID is included in syncTask.String()
Browse files Browse the repository at this point in the history
  • Loading branch information
haikoschol committed Nov 6, 2024
1 parent 3accdcb commit dc9040b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dot/sync/fullsync.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ func (s *syncTask) ID() TaskID {
}

func (s *syncTask) String() string {
return fmt.Sprintf("%s %s", s.id, s.request.String())
return fmt.Sprintf("%s %s", s.ID(), s.request.String())
}

func (s *syncTask) Do(p peer.ID) (Result, error) {
Expand Down

0 comments on commit dc9040b

Please sign in to comment.