chenshijun
2020-01-15 6f220f830ab10690098f9c53144d31fcab2be33d
agent.go
@@ -62,9 +62,9 @@
}
// Create create serf agent with config
func Create(conf *Config) (*Agent, error) {
func Create(conf *Config, snapshotPath string) (*Agent, error) {
   // config cover to serf config
   serfConf, err := conf.convertToSerf()
   serfConf, err := conf.convertToSerf(snapshotPath)
   if err != nil {
      return nil, err
   }