Skip to content
Snippets Groups Projects
Commit 07da54de authored by Erick Hitter's avatar Erick Hitter
Browse files

Logger no longer automatically set up because init is too early for flags

Led to nil pointer dereference during test when logger was invoked
parent f207d248
Branches
No related tags found
1 merge request!5Add go.mod
Pipeline #4452 failed
This commit is part of merge request !5. Comments created here will be created in the context of that merge request.
......@@ -8,6 +8,8 @@ import (
)
func TestCheckDropletAge(t *testing.T) {
setUpLogger()
staleDroplet := godo.Droplet{
ID: 1234,
Name: "very-old",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment