diff options
author | Michael Muré <batolettre@gmail.com> | 2019-11-19 00:27:40 +0100 |
---|---|---|
committer | Michael Muré <batolettre@gmail.com> | 2019-11-19 00:27:40 +0100 |
commit | a9b32e6bdaa610e2244816618a316bcdf53545e6 (patch) | |
tree | 579e49e7972dd0b1719227eee75a767dba92208d /bug | |
parent | 0b2a99ab965a1a90e138cc26f12c160a0dac60c2 (diff) | |
download | git-bug-a9b32e6bdaa610e2244816618a316bcdf53545e6.tar.gz |
repo: esthetism rename
Diffstat (limited to 'bug')
-rw-r--r-- | bug/bug.go | 4 | ||||
-rw-r--r-- | bug/clocks.go | 4 |
2 files changed, 4 insertions, 4 deletions
@@ -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 } |