We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9af7f26 commit 64a5e7cCopy full SHA for 64a5e7c
nsqd/nsqd_test.go
@@ -24,7 +24,7 @@ const (
24
)
25
26
func getMetadata(n *NSQD) (*meta, error) {
27
- fn := fmt.Sprintf(path.Join(n.getOpts().DataPath, "nsqd.%d.dat"), n.getOpts().ID)
+ fn := path.Join(n.getOpts().DataPath, "nsqd.dat")
28
data, err := ioutil.ReadFile(fn)
29
if err != nil {
30
return nil, err
0 commit comments