mirror of
https://github.com/vmware-tanzu/velero.git
synced 2026-01-03 11:45:20 +00:00
chore: remove duplicate word in comments
Signed-off-by: Abirdcfly <fp544037857@gmail.com>
This commit is contained in:
@@ -208,7 +208,7 @@ func DeploymentIsReady(factory client.DynamicFactory, namespace string) (bool, e
|
||||
}
|
||||
|
||||
// DaemonSetIsReady will poll the kubernetes API server to ensure the restic daemonset is ready, i.e. that
|
||||
// pods are scheduled and available on all of the the desired nodes.
|
||||
// pods are scheduled and available on all of the desired nodes.
|
||||
func DaemonSetIsReady(factory client.DynamicFactory, namespace string) (bool, error) {
|
||||
gvk := schema.FromAPIVersionAndKind(appsv1.SchemeGroupVersion.String(), "DaemonSet")
|
||||
apiResource := metav1.APIResource{
|
||||
|
||||
@@ -339,7 +339,7 @@ func findSupportedUserVersion(userGVs, targetGVs, sourceGVs []metav1.GroupVersio
|
||||
return ""
|
||||
}
|
||||
|
||||
// versionsContain will check if a version can be found in a a slice of versions.
|
||||
// versionsContain will check if a version can be found in a slice of versions.
|
||||
func versionsContain(list []metav1.GroupVersionForDiscovery, version string) bool {
|
||||
for _, v := range list {
|
||||
if v.Version == version {
|
||||
|
||||
Reference in New Issue
Block a user