mirror of
https://github.com/containers/podman.git
synced 2025-10-17 11:14:40 +08:00
pkg/fileserver: remove deadcode
We don't need a stub implementation as this code should never end up being imported on non windows platforms. Signed-off-by: Paul Holzinger <pholzing@redhat.com>
This commit is contained in:
@ -1,15 +0,0 @@
|
||||
//go:build !windows
|
||||
|
||||
package fileserver
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
)
|
||||
|
||||
func StartShares(mounts map[string]string) error {
|
||||
if len(mounts) == 0 {
|
||||
return nil
|
||||
}
|
||||
|
||||
return fmt.Errorf("this platform does not support sharing directories")
|
||||
}
|
Reference in New Issue
Block a user