diff options
Diffstat (limited to 'weed/filer/filer_notify_test.go')
| -rw-r--r-- | weed/filer/filer_notify_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/filer/filer_notify_test.go b/weed/filer/filer_notify_test.go index 9ad58629a..af99d7015 100644 --- a/weed/filer/filer_notify_test.go +++ b/weed/filer/filer_notify_test.go @@ -44,7 +44,7 @@ func TestProtoMarshal(t *testing.T) { notification2 := &filer_pb.EventNotification{} proto.Unmarshal(text, notification2) - if notification2.OldEntry.Chunks[0].SourceFileId != notification.OldEntry.Chunks[0].SourceFileId { + if notification2.OldEntry.GetChunks()[0].SourceFileId != notification.OldEntry.GetChunks()[0].SourceFileId { t.Fatalf("marshal/unmarshal error: %s", text) } |
