aboutsummaryrefslogtreecommitdiffstats
path: root/commands
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2018-07-12 21:31:11 +0200
committerMichael Muré <batolettre@gmail.com>2018-07-12 21:32:10 +0200
commit3aecdf2c2da9017513ca04a183089099fb3677d5 (patch)
treeed4d0de0f815ca5f4f0e5deb4bb39a0d68e7fd52 /commands
parent3087a472bfe61db806a052ea2afd57d22b8c5d95 (diff)
downloadgit-bug-3aecdf2c2da9017513ca04a183089099fb3677d5.tar.gz
create the Snapshot type for a compiled bug operation log
Diffstat (limited to 'commands')
-rw-r--r--commands/new.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/new.go b/commands/new.go
index 43bfd212..6dd19508 100644
--- a/commands/new.go
+++ b/commands/new.go
@@ -55,7 +55,7 @@ func newBug(repo repository.Repo, args []string) error {
Message: *newMessage,
}
- bug := bug.Bug{
+ bug := bug.Snapshot{
Title: title,
Comments: []bug.Comment{comment},
}