Fix: append all slice data when range for it

Signed-off-by: alingse <alingse@foxmail.com>
This commit is contained in:
alingse
2024-04-01 00:11:50 +08:00
parent 3d6dab0708
commit 2ef22c082f

View File

@@ -170,7 +170,7 @@ func getPluginsByVersion(version, cloudProvider, objectStoreProvider, feature st
}
for _, p := range pluginsForDatamover {
if !slices.Contains(plugins, p) {
plugins = append(plugins, pluginsForDatamover...)
plugins = append(plugins, p)
}
}
}