Browse Source

Merge remote-tracking branch 'origin/dev' into dev

Vanessa 1 year ago
parent
commit
251e8b3234
1 changed files with 1 additions and 1 deletions
  1. 1 1
      kernel/model/repository.go

+ 1 - 1
kernel/model/repository.go

@@ -2018,7 +2018,7 @@ func getCloudSpace() (stat *cloud.Stat, err error) {
 }
 }
 
 
 func pushReloadPlugin(upsertPluginSet, removePluginNameSet *hashset.Set) {
 func pushReloadPlugin(upsertPluginSet, removePluginNameSet *hashset.Set) {
-	var upsertPlugins, removePlugins []string
+	upsertPlugins, removePlugins := []string{}, []string{}
 	for _, n := range upsertPluginSet.Values() {
 	for _, n := range upsertPluginSet.Values() {
 		upsertPlugins = append(upsertPlugins, n.(string))
 		upsertPlugins = append(upsertPlugins, n.(string))
 	}
 	}