()
| 114 | } |
| 115 | |
| 116 | func (c *BugCache) Close() (*bug.SetStatusOperation, error) { |
| 117 | author, err := c.getUserIdentity() |
| 118 | if err != nil { |
| 119 | return nil, err |
| 120 | } |
| 121 | |
| 122 | return c.CloseRaw(author, time.Now().Unix(), nil) |
| 123 | } |
| 124 | |
| 125 | func (c *BugCache) CloseRaw(author identity.Interface, unixTime int64, metadata map[string]string) (*bug.SetStatusOperation, error) { |
| 126 | c.mu.Lock() |