Fix misspellings and enable misspell on ci (#16285)

Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com>
Этот коммит содержится в:
John Tzikas
2020-12-01 17:27:05 +02:00
коммит произвёл GitHub
родитель c2036f614e
Коммит 3fdc6cb531
20 изменённых файлов: 42 добавлений и 37 удалений

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

@@ -56,7 +56,7 @@ func NewFeatureFlagSynchronizer(params FeatureFlagSyncParams) (*FeatureFlagSynch
// ensureReady blocks until the syncronizer is ready to update feature flag values
func (f *FeatureFlagSynchronizer) EnsureReady() error {
if err := f.client.BlockUntilReady(10); err != nil {
return errors.Wrap(err, "split.io client could not initalize")
return errors.Wrap(err, "split.io client could not initialize")
}
return nil

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

@@ -167,7 +167,7 @@ func (s *Store) Set(newCfg *model.Config) (*model.Config, error) {
// Don't persist feature flags unless we are on MM cloud
// MM cloud uses config in the DB as a cache of the feature flag
// settings in case the managment system is down when a pod starts.
// settings in case the management system is down when a pod starts.
if !s.persistFeatureFlags {
newCfg.FeatureFlags = nil
}