mirror of
https://github.com/bitechdev/ResolveSpec.git
synced 2025-12-31 08:44: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 {
|
||||
return nil, fmt.Errorf("Provider cannot be nil")
|
||||
return nil, fmt.Errorf("provider cannot be nil")
|
||||
}
|
||||
|
||||
mp := &mountPoint{
|
||||
|
||||
@@ -182,7 +182,7 @@ func (s *service) validateMountConfig(config MountConfig) error {
|
||||
}
|
||||
|
||||
if config.Provider == nil {
|
||||
return fmt.Errorf("Provider cannot be nil")
|
||||
return fmt.Errorf("provider cannot be nil")
|
||||
}
|
||||
|
||||
return nil
|
||||
|
||||
@@ -39,7 +39,7 @@ func (f *ZipFile) Stat() (fs.FileInfo, error) {
|
||||
if f.File != nil {
|
||||
return f.FileInfo(), nil
|
||||
}
|
||||
return nil, fmt.Errorf("No file")
|
||||
return nil, fmt.Errorf("no file")
|
||||
}
|
||||
|
||||
func (f *ZipFile) Close() error {
|
||||
|
||||
Reference in New Issue
Block a user