MM-15295: Migrate commandstore.AnalyticsCommandCount to sync by default (#10746)
Этот коммит содержится в:
коммит произвёл
George Goldberg
родитель
d59843725f
Коммит
d4225349ef
@@ -14,19 +14,26 @@ type CommandStore struct {
|
||||
}
|
||||
|
||||
// AnalyticsCommandCount provides a mock function with given fields: teamId
|
||||
func (_m *CommandStore) AnalyticsCommandCount(teamId string) store.StoreChannel {
|
||||
func (_m *CommandStore) AnalyticsCommandCount(teamId string) (int64, *model.AppError) {
|
||||
ret := _m.Called(teamId)
|
||||
|
||||
var r0 store.StoreChannel
|
||||
if rf, ok := ret.Get(0).(func(string) store.StoreChannel); ok {
|
||||
var r0 int64
|
||||
if rf, ok := ret.Get(0).(func(string) int64); ok {
|
||||
r0 = rf(teamId)
|
||||
} else {
|
||||
if ret.Get(0) != nil {
|
||||
r0 = ret.Get(0).(store.StoreChannel)
|
||||
r0 = ret.Get(0).(int64)
|
||||
}
|
||||
|
||||
var r1 *model.AppError
|
||||
if rf, ok := ret.Get(1).(func(string) *model.AppError); ok {
|
||||
r1 = rf(teamId)
|
||||
} else {
|
||||
if ret.Get(1) != nil {
|
||||
r1 = ret.Get(1).(*model.AppError)
|
||||
}
|
||||
}
|
||||
|
||||
return r0
|
||||
return r0, r1
|
||||
}
|
||||
|
||||
// Delete provides a mock function with given fields: commandId, time
|
||||
|
||||
Ссылка в новой задаче
Block a user