refactor: move debian-related functions to debian module
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user