mirror of
https://github.com/bitechdev/ResolveSpec.git
synced 2026-01-03 18:34:25 +00:00
fix: lint issues after merge
This commit is contained in:
@@ -30,7 +30,7 @@ func newMountPoint(config MountConfig, defaults *ServiceConfig) (*mountPoint, er
|
|||||||
}
|
}
|
||||||
|
|
||||||
if config.Provider == nil {
|
if config.Provider == nil {
|
||||||
return nil, fmt.Errorf("Provider cannot be nil")
|
return nil, fmt.Errorf("provider cannot be nil")
|
||||||
}
|
}
|
||||||
|
|
||||||
mp := &mountPoint{
|
mp := &mountPoint{
|
||||||
|
|||||||
@@ -182,7 +182,7 @@ func (s *service) validateMountConfig(config MountConfig) error {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if config.Provider == nil {
|
if config.Provider == nil {
|
||||||
return fmt.Errorf("Provider cannot be nil")
|
return fmt.Errorf("provider cannot be nil")
|
||||||
}
|
}
|
||||||
|
|
||||||
return nil
|
return nil
|
||||||
|
|||||||
@@ -39,7 +39,7 @@ func (f *ZipFile) Stat() (fs.FileInfo, error) {
|
|||||||
if f.File != nil {
|
if f.File != nil {
|
||||||
return f.FileInfo(), nil
|
return f.FileInfo(), nil
|
||||||
}
|
}
|
||||||
return nil, fmt.Errorf("No file")
|
return nil, fmt.Errorf("no file")
|
||||||
}
|
}
|
||||||
|
|
||||||
func (f *ZipFile) Close() error {
|
func (f *ZipFile) Close() error {
|
||||||
|
|||||||
Reference in New Issue
Block a user