Skip to content

Commit

Permalink
removed explicit set to nil
Browse files Browse the repository at this point in the history
  • Loading branch information
AtakanColak authored Sep 29, 2020
1 parent 5fd5d64 commit ba243b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/common/common_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ func Virtualization() (string, string, error) {
return VirtualizationWithContext(context.Background())
}

var virtualizationCache map[string]string = nil
var virtualizationCache map[string]string

func VirtualizationWithContext(ctx context.Context) (string, string, error) {
// if cached already, return from cache
Expand Down

0 comments on commit ba243b1

Please sign in to comment.