Skip to content

Commit

Permalink
Set OS type to freebsd
Browse files Browse the repository at this point in the history
  • Loading branch information
vansante committed Jan 26, 2024
1 parent 627916f commit 2fd4229
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions providers/freebsd/os_freebsd.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ func OperatingSystem() (*types.OSInfo, error) {

func getOSInfo(baseDir string) (*types.OSInfo, error) {
info := &types.OSInfo{
Type: "freebsd",
Family: "freebsd",
Platform: "freebsd",
}
Expand Down
2 changes: 1 addition & 1 deletion providers/freebsd/os_freebsd_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ func TestOperatingSystem(t *testing.T) {
t.Fatal(err)
}
assert.Equal(t, types.OSInfo{
Type: "",
Type: "freebsd",
Family: "freebsd",
Platform: "freebsd",
Name: "FreeBSD",
Expand Down

0 comments on commit 2fd4229

Please sign in to comment.