mirror of
https://github.com/vmware-tanzu/velero.git
synced 2026-04-22 00:30:34 +00:00
Fix: append all slice data when range for it
Signed-off-by: alingse <alingse@foxmail.com>
This commit is contained in:
@@ -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)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user