Skip to content

Commit

Permalink
Fixes #10 Invalid memory address or nil pointer dereference
Browse files Browse the repository at this point in the history
  • Loading branch information
paramaw committed Nov 18, 2021
1 parent ba3c069 commit 796d920
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server/stats.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ func startRecurringStatUpdate() {
i, _, err := client.InstanceStats.Update(context.Background(), is)
if err != nil {
fmt.Printf("gotten error: %v\n", err)
continue
}

// set the current instance global var
Expand Down

0 comments on commit 796d920

Please sign in to comment.