aboutsummaryrefslogtreecommitdiffstats
path: root/commands/label.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2018-07-23 00:04:46 +0200
committerMichael Muré <batolettre@gmail.com>2018-07-23 00:04:46 +0200
commit17e2ec8f5679c1ba7ae2ea45290e9303beb3c227 (patch)
treec8862ebf6e9e9314361120127bf3fc59877c3e02 /commands/label.go
parente1f597639bfc2f796f74afa87e41581087f0b26e (diff)
downloadgit-bug-17e2ec8f5679c1ba7ae2ea45290e9303beb3c227.tar.gz
bug: refactor to limit abstraction leak and to have a more reusable code for the UIs
Diffstat (limited to 'commands/label.go')
-rw-r--r--commands/label.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/label.go b/commands/label.go
index 08d7a78a..e1679972 100644
--- a/commands/label.go
+++ b/commands/label.go
@@ -21,7 +21,7 @@ func runLabel(cmd *cobra.Command, args []string) error {
prefix := args[0]
- b, err := bug.FindBug(repo, prefix)
+ b, err := bug.FindLocalBug(repo, prefix)
if err != nil {
return err
}