MM-15291: migrate commandStore.Delete to sync by default (#10742)

Этот коммит содержится в:
Puneeth Reddy
2019-05-01 00:10:27 -07:00
коммит произвёл Hanzei
родитель e6be06b3fc
Коммит ebbfdf9e5c
5 изменённых файлов: 20 добавлений и 20 удалений

Просмотреть файл

@@ -37,15 +37,15 @@ func (_m *CommandStore) AnalyticsCommandCount(teamId string) (int64, *model.AppE
}
// Delete provides a mock function with given fields: commandId, time
func (_m *CommandStore) Delete(commandId string, time int64) store.StoreChannel {
func (_m *CommandStore) Delete(commandId string, time int64) *model.AppError {
ret := _m.Called(commandId, time)
var r0 store.StoreChannel
if rf, ok := ret.Get(0).(func(string, int64) store.StoreChannel); ok {
var r0 *model.AppError
if rf, ok := ret.Get(0).(func(string, int64) *model.AppError); ok {
r0 = rf(commandId, time)
} else {
if ret.Get(0) != nil {
r0 = ret.Get(0).(store.StoreChannel)
r0 = ret.Get(0).(*model.AppError)
}
}