aboutsummaryrefslogtreecommitdiffstats
path: root/bug/op_set_status.go
diff options
context:
space:
mode:
Diffstat (limited to 'bug/op_set_status.go')
-rw-r--r--bug/op_set_status.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/bug/op_set_status.go b/bug/op_set_status.go
index 19af46c2..1fb9cab6 100644
--- a/bug/op_set_status.go
+++ b/bug/op_set_status.go
@@ -22,10 +22,8 @@ func (op SetStatusOperation) Hash() (git.Hash, error) {
return hashOperation(op)
}
-func (op SetStatusOperation) Apply(snapshot Snapshot) Snapshot {
+func (op SetStatusOperation) Apply(snapshot *Snapshot) {
snapshot.Status = op.Status
-
- return snapshot
}
func (op SetStatusOperation) Validate() error {