aboutsummaryrefslogtreecommitdiffstats
path: root/bug
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2019-11-19 00:27:40 +0100
committerMichael Muré <batolettre@gmail.com>2019-11-19 00:27:40 +0100
commita9b32e6bdaa610e2244816618a316bcdf53545e6 (patch)
tree579e49e7972dd0b1719227eee75a767dba92208d /bug
parent0b2a99ab965a1a90e138cc26f12c160a0dac60c2 (diff)
downloadgit-bug-a9b32e6bdaa610e2244816618a316bcdf53545e6.tar.gz
repo: esthetism rename
Diffstat (limited to 'bug')
-rw-r--r--bug/bug.go4
-rw-r--r--bug/clocks.go4
2 files changed, 4 insertions, 4 deletions
diff --git a/bug/bug.go b/bug/bug.go
index 911961b1..f1d36d52 100644
--- a/bug/bug.go
+++ b/bug/bug.go
@@ -197,10 +197,10 @@ func readBug(repo repository.ClockedRepo, ref string) (*Bug, error) {
}
// Update the clocks
- if err := repo.CreateWitness(bug.createTime); err != nil {
+ if err := repo.WitnessCreate(bug.createTime); err != nil {
return nil, errors.Wrap(err, "failed to update create lamport clock")
}
- if err := repo.EditWitness(bug.editTime); err != nil {
+ if err := repo.WitnessEdit(bug.editTime); err != nil {
return nil, errors.Wrap(err, "failed to update edit lamport clock")
}
diff --git a/bug/clocks.go b/bug/clocks.go
index bb3d81f0..52d23544 100644
--- a/bug/clocks.go
+++ b/bug/clocks.go
@@ -12,12 +12,12 @@ func Witnesser(repo repository.ClockedRepo) error {
return b.Err
}
- err := repo.CreateWitness(b.Bug.createTime)
+ err := repo.WitnessCreate(b.Bug.createTime)
if err != nil {
return err
}
- err = repo.EditWitness(b.Bug.editTime)
+ err = repo.WitnessEdit(b.Bug.editTime)
if err != nil {
return err
}