Add whitespace linter (#24855)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
176370e175
Коммит
0d5a8b8841
@@ -161,7 +161,6 @@ func (ps *PlatformService) InvalidateAllCaches() *model.AppError {
|
||||
ps.InvalidateAllCachesSkipSend()
|
||||
|
||||
if ps.clusterIFace != nil {
|
||||
|
||||
msg := &model.ClusterMessage{
|
||||
Event: model.ClusterEventInvalidateAllCaches,
|
||||
SendType: model.ClusterSendReliable,
|
||||
|
||||
@@ -368,7 +368,6 @@ func (ps *PlatformService) IsFirstUserAccount() bool {
|
||||
}
|
||||
|
||||
return true
|
||||
|
||||
}
|
||||
|
||||
func (ps *PlatformService) MaxPostSize() int {
|
||||
@@ -402,5 +401,4 @@ func (ps *PlatformService) GetSystemInstallDate() (int64, *model.AppError) {
|
||||
|
||||
func (ps *PlatformService) ClientConfig() map[string]string {
|
||||
return ps.clientConfig.Load().(map[string]string)
|
||||
|
||||
}
|
||||
|
||||
@@ -189,5 +189,4 @@ func TestIsFirstUserAccountThunderingHerd(t *testing.T) {
|
||||
wg.Wait()
|
||||
})
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -371,7 +371,6 @@ func (ps *PlatformService) Start() error {
|
||||
ps.Go(func() {
|
||||
ps.Publish(message)
|
||||
})
|
||||
|
||||
})
|
||||
return nil
|
||||
}
|
||||
|
||||
@@ -85,7 +85,6 @@ func (ps *PlatformService) GetStatusesByIds(userIDs []string) (map[string]any, *
|
||||
ps.AddStatusCacheSkipClusterSend(s)
|
||||
statusMap[s.UserId] = s.Status
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// For the case where the user does not have a row in the Status table and cache
|
||||
@@ -134,7 +133,6 @@ func (ps *PlatformService) GetUserStatusesByIds(userIDs []string) ([]*model.Stat
|
||||
}
|
||||
|
||||
statusMap = append(statusMap, statuses...)
|
||||
|
||||
}
|
||||
|
||||
// For the case where the user does not have a row in the Status table and cache
|
||||
|
||||
Ссылка в новой задаче
Block a user