Update pkg/kapi/kapi.go

Co-authored-by: Steven Powell <44844360+spowelljr@users.noreply.github.com>
pull/15463/head
Predrag Rogic 2023-01-12 21:18:49 +00:00 committed by GitHub
parent 0e3ebc74c8
commit 23351ba30d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -242,7 +242,7 @@ func ScaleDeployment(kcontext, namespace, deploymentName string, replicas int) e
return true, nil
})
if err != nil {
klog.Infof("failed rescaling %q deployment in %q namespace and %q context to %d replicas: %v", deploymentName, namespace, kcontext, replicas, err)
klog.Warningf("failed rescaling %q deployment in %q namespace and %q context to %d replicas: %v", deploymentName, namespace, kcontext, replicas, err)
return err
}
klog.Infof("%q deployment in %q namespace and %q context rescaled to %d replicas", deploymentName, namespace, kcontext, replicas)