diff options
author | Michael Muré <batolettre@gmail.com> | 2019-02-24 13:23:01 +0100 |
---|---|---|
committer | Michael Muré <batolettre@gmail.com> | 2019-03-01 22:48:50 +0100 |
commit | 8bba6d1493fdf064ac9fede0a5098b1abe969052 (patch) | |
tree | e9730e7da829100759ce9cbb6dc12747405fe2ee /cache/identity_excerpt.go | |
parent | 268f6175fe7394f057a1b6b38c239c36e2c8619a (diff) | |
download | git-bug-8bba6d1493fdf064ac9fede0a5098b1abe969052.tar.gz |
cache: fix ResolveIdentityImmutableMetadata byt storing metadata in IdentityExcerpt
Diffstat (limited to 'cache/identity_excerpt.go')
-rw-r--r-- | cache/identity_excerpt.go | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/cache/identity_excerpt.go b/cache/identity_excerpt.go index 7bc660b6..0539a76b 100644 --- a/cache/identity_excerpt.go +++ b/cache/identity_excerpt.go @@ -12,15 +12,17 @@ import ( type IdentityExcerpt struct { Id string - Name string - Login string + Name string + Login string + ImmutableMetadata map[string]string } func NewIdentityExcerpt(i *identity.Identity) *IdentityExcerpt { return &IdentityExcerpt{ - Id: i.Id(), - Name: i.Name(), - Login: i.Login(), + Id: i.Id(), + Name: i.Name(), + Login: i.Login(), + ImmutableMetadata: i.ImmutableMetadata(), } } |