aboutsummaryrefslogtreecommitdiffstats
path: root/bug/operations/set_status.go
diff options
context:
space:
mode:
Diffstat (limited to 'bug/operations/set_status.go')
-rw-r--r--bug/operations/set_status.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/bug/operations/set_status.go b/bug/operations/set_status.go
index ed6c328c..bafcf5ee 100644
--- a/bug/operations/set_status.go
+++ b/bug/operations/set_status.go
@@ -27,13 +27,13 @@ func NewSetStatusOp(author bug.Person, status bug.Status) SetStatusOperation {
}
// Convenience function to apply the operation
-func Open(b *bug.Bug, author bug.Person) {
+func Open(b bug.Interface, author bug.Person) {
op := NewSetStatusOp(author, bug.OpenStatus)
b.Append(op)
}
// Convenience function to apply the operation
-func Close(b *bug.Bug, author bug.Person) {
+func Close(b bug.Interface, author bug.Person) {
op := NewSetStatusOp(author, bug.ClosedStatus)
b.Append(op)
}