File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -71,9 +71,9 @@ func (g *gitdb) insert(m Model) error {
71
71
mID := ID (m )
72
72
73
73
//construct a commit message
74
- commitMsg := "Inserting " + mID + " into " + schema . blockID ()
74
+ commitMsg := "Inserting " + mID
75
75
if _ , err := dataBlock .Get (mID ); err == nil {
76
- commitMsg = "Updating " + mID + " in " + schema . blockID ()
76
+ commitMsg = "Updating " + mID
77
77
}
78
78
79
79
newRecordStr := string (newRecordBytes )
@@ -146,7 +146,7 @@ func (g *gitdb) dodelete(id string, failNotFound bool) error {
146
146
if err == nil {
147
147
log .Test ("sending delete event to loop" )
148
148
g .commit .Add (1 )
149
- g .events <- newDeleteEvent ("Deleting " + id + " in " + blockFilePath , blockFilePath , g .autoCommit )
149
+ g .events <- newDeleteEvent (fmt . Sprintf ( "Deleting %s" , id ) , blockFilePath , g .autoCommit )
150
150
g .waitForCommit ()
151
151
}
152
152
You can’t perform that action at this time.
0 commit comments