Skip to content

Commit 64a5e7c

Browse files
committed
nsqd: fix test metadata filepath
1 parent 9af7f26 commit 64a5e7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nsqd/nsqd_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ const (
2424
)
2525

2626
func getMetadata(n *NSQD) (*meta, error) {
27-
fn := fmt.Sprintf(path.Join(n.getOpts().DataPath, "nsqd.%d.dat"), n.getOpts().ID)
27+
fn := path.Join(n.getOpts().DataPath, "nsqd.dat")
2828
data, err := ioutil.ReadFile(fn)
2929
if err != nil {
3030
return nil, err

0 commit comments

Comments
 (0)