fix waitgroup instantiation
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
a7d0005423
commit
647f9a8f7b
2
main.go
2
main.go
@ -86,7 +86,7 @@ func refreshData() {
|
|||||||
}
|
}
|
||||||
lastRefresh = time.Now()
|
lastRefresh = time.Now()
|
||||||
|
|
||||||
var wg *sync.WaitGroup
|
wg := sync.WaitGroup{}
|
||||||
|
|
||||||
// Loop through each configured account provider and attempt to get the account balances, and update YNAB
|
// Loop through each configured account provider and attempt to get the account balances, and update YNAB
|
||||||
for _, p := range configuredProviders {
|
for _, p := range configuredProviders {
|
||||||
|
Loading…
Reference in New Issue
Block a user