Fix typos 4 files: consecutive occurrences of 'the' (#15789)

Automatic Merge
Этот коммит содержится в:
Jorge Vallecillo
2020-10-05 12:57:28 -06:00
коммит произвёл GitHub
родитель 42f539fa57
Коммит f3ce8716bb
4 изменённых файлов: 4 добавлений и 4 удалений

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

@@ -16,7 +16,7 @@
//
// To achieve this coordination, each server instead checks the status of its peers after unpacking. If it finds peers with
// differing versions of the plugin, it skips the notification. If it finds all peers with the same version of the plugin,
// it notifies all websocket clients connected to all peers. There's a small chance that this never occurs if the the last
// it notifies all websocket clients connected to all peers. There's a small chance that this never occurs if the last
// server to finish unpacking dies before it can announce. There is also a chance that multiple servers decide to notify,
// but the webapp handles this idempotently.
//

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

@@ -351,7 +351,7 @@ func (h *Hub) Broadcast(message *model.WebSocketEvent) {
// `app.NewServer()` which returns a server, but only after that, we call
// `wsapi.Init()` to initialize the hub. But in the `NewServer` call
// itself proceeds to broadcast some messages happily. This needs to be
// fixed once the the wsapi cyclic dependency with server/app goes away.
// fixed once the wsapi cyclic dependency with server/app goes away.
// And possibly, we can look into doing the hub initialization inside
// NewServer itself.
if h != nil && message != nil {