Skip to content

Commit 44e14f8

Browse files
author
Tone Def
committed
Removing the no longer needed Provider global var
1 parent 49ec8ed commit 44e14f8

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

main.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ type Terracreds interface {
2525
Get(cfg api.Config, hostname string, user *user.User)
2626
}
2727

28+
// returnProvider returns the correct struct for the specific operating system
2829
func returnProvider(os string) Terracreds {
2930
switch os {
3031
case "darwin":
@@ -38,8 +39,6 @@ func returnProvider(os string) Terracreds {
3839
}
3940
}
4041

41-
var Provider Terracreds
42-
4342
func main() {
4443
var cfg api.Config
4544
version := "1.1.2"

0 commit comments

Comments
 (0)