Skip to content

Commit 360ecf7

Browse files
committed
add log info parallelLogPulls
1 parent db25a72 commit 360ecf7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/services/gcp/pkg/stub/handler.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ import (
88
b64 "encoding/base64"
99
"encoding/json"
1010
"fmt"
11-
"golang.org/x/sync/semaphore"
1211
"io/ioutil"
1312
"mime/multipart"
1413
"net/http"
@@ -20,6 +19,8 @@ import (
2019
"sync"
2120
"time"
2221

22+
"golang.org/x/sync/semaphore"
23+
2324
uuid "github.com/satori/go.uuid"
2425

2526
"github.com/sap/infrabox/src/services/gcp/pkg/apis/gcp/v1alpha1"
@@ -1119,6 +1120,7 @@ func retrieveLogs(cr *v1alpha1.GKECluster, cluster *RemoteCluster, log *logrus.E
11191120
if n > 0 && n < 10 {
11201121
parallelLogPulls = n
11211122
}
1123+
log.Infof("Setting parallel log pulls for log collection: %d", parallelLogPulls)
11221124
}
11231125

11241126
annotations := cr.GetAnnotations()

0 commit comments

Comments
 (0)