MM-13312 Prevent clobbering of new fields by old plugins. (#10087)

* Prevent clobbering of new fields by old plugins.

* Apply suggestions from code review

Spelling and copy paste error.

Co-Authored-By: crspeller <crspeller@gmail.com>
Этот коммит содержится в:
Christopher Speller
2019-01-14 09:03:16 -08:00
коммит произвёл GitHub
родитель 97bd145fa3
Коммит c208de7c44
3 изменённых файлов: 84 добавлений и 76 удалений

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

@@ -397,6 +397,8 @@ func removeExcluded(info *PluginInterfaceInfo) *PluginInterfaceInfo {
"LoadPluginConfiguration",
"ServeHTTP",
"FileWillBeUploaded",
"MessageWillBePosted",
"MessageWillBeUpdated",
}
for _, exclusion := range excluded {
if exclusion == item {