Skip to content

Commit

Permalink
fix: remove deprecated dependency
Browse files Browse the repository at this point in the history
Signed-off-by: r3drun3 <[email protected]>
  • Loading branch information
R3DRUN3 committed Jan 5, 2025
1 parent 1c8a5ab commit 488b270
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/scan.go
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ func GetSystemInfo() (map[string]interface{}, error) {

func getSystemUptime() (string, error) {
if runtime.GOOS == "linux" {
data, err := ioutil.ReadFile("/proc/uptime")
data, err := os.ReadFile("/proc/uptime")
if err != nil {
return "", err
}
Expand Down

0 comments on commit 488b270

Please sign in to comment.