1
0

refactor: move debian-related functions to debian module

This commit is contained in:
2023-05-16 09:24:34 +00:00
parent e1ae427757
commit 4d950d7302
3 changed files with 48 additions and 25 deletions

View File

@@ -122,7 +122,7 @@ func getDebianKernel(version string) (dk DebianKernel, err error) {
}
// GetCachedKernel by deb package name
func GetCachedKernel(deb string) (dk DebianKernel, err error) {
func getCachedKernel(deb string) (dk DebianKernel, err error) {
c, err := NewCache(CachePath)
if err != nil {
log.Error().Err(err).Msg("cache")