Set the remote writer ref on writer creation

Ensures that status calls to the remote writer correctly
sets the ref.

Signed-off-by: Derek McGowan <derek@mcgstyle.net>
This commit is contained in:
Derek McGowan
2017-06-07 16:40:42 -07:00
parent 9c0897d524
commit 9211a1daa7
2 changed files with 1 additions and 8 deletions

View File

@@ -115,6 +115,7 @@ func (rs *remoteStore) Writer(ctx context.Context, ref string, size int64, expec
}
return &remoteWriter{
ref: ref,
client: wrclient,
offset: offset,
}, nil