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
No related branches found
No related tags found
1 merge request!5Add go.mod
Pipeline #4452 failed with stages
in 1 minute and 46 seconds
......@@ -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.
Finish editing this message first!
Please register or to comment