mirror of https://github.com/containers/podman.git
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:
parent
fb5cbb9b1f
commit
6da360a223
|
@ -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")
|
||||
}
|
Loading…
Reference in New Issue