mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-22 17:31:03 +01:00
test: updated test cases
This commit is contained in:
@@ -1,13 +0,0 @@
|
||||
package config
|
||||
|
||||
import (
|
||||
"github.com/crawlab-team/crawlab/core/interfaces"
|
||||
)
|
||||
|
||||
type Option func(svc interfaces.NodeConfigService)
|
||||
|
||||
func WithConfigPath(path string) Option {
|
||||
return func(svc interfaces.NodeConfigService) {
|
||||
svc.SetConfigPath(path)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user