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 }