Fix linter warnings
This commit is contained in:
parent
1b8a043bea
commit
d33eaf5ac8
8 changed files with 14 additions and 19 deletions
|
|
@ -16,12 +16,10 @@
|
|||
|
||||
package share
|
||||
|
||||
import "context"
|
||||
|
||||
type NewBackendFunc func(uc *UserConfiguration) (Backend, *VMShareOptions, error)
|
||||
|
||||
type Backend interface {
|
||||
Apply(ctx context.Context, sharePWD string, vc *VMShareContext) (string, error)
|
||||
Apply(sharePWD string, vc *VMShareContext) (string, error)
|
||||
}
|
||||
|
||||
var backends = map[string]NewBackendFunc{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue