diff options
Diffstat (limited to 'identity/identity_stub.go')
-rw-r--r-- | identity/identity_stub.go | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/identity/identity_stub.go b/identity/identity_stub.go index 7e2fcd94..f4bf1d37 100644 --- a/identity/identity_stub.go +++ b/identity/identity_stub.go @@ -80,11 +80,11 @@ func (IdentityStub) Validate() error { panic("identities needs to be properly loaded with identity.ReadLocal()") } -func (IdentityStub) Commit(repo repository.ClockedRepo) error { +func (IdentityStub) CommitWithRepo(repo repository.ClockedRepo) error { panic("identities needs to be properly loaded with identity.ReadLocal()") } -func (i *IdentityStub) CommitAsNeeded(repo repository.ClockedRepo) error { +func (i *IdentityStub) CommitAsNeededWithRepo(repo repository.ClockedRepo) error { panic("identities needs to be properly loaded with identity.ReadLocal()") } @@ -99,3 +99,7 @@ func (i *IdentityStub) LastModificationLamport() lamport.Time { func (i *IdentityStub) LastModification() timestamp.Timestamp { panic("identities needs to be properly loaded with identity.ReadLocal()") } + +func (i *IdentityStub) NeedCommit() bool { + return false +} |