Browse Source

remove bad log

Ajay Tripathy 6 năm trước cách đây
mục cha
commit
e537da4c4d
1 tập tin đã thay đổi với 0 bổ sung1 xóa
  1. 0 1
      pkg/cloud/awsprovider.go

+ 0 - 1
pkg/cloud/awsprovider.go

@@ -1957,7 +1957,6 @@ func (f fnames) Less(i, j int) bool {
 
 
 func parseSpotData(bucket string, prefix string, projectID string, region string, accessKeyID string, accessKeySecret string) (map[string]*spotInfo, error) {
 func parseSpotData(bucket string, prefix string, projectID string, region string, accessKeyID string, accessKeySecret string) (map[string]*spotInfo, error) {
 	// credentials may exist on the actual AWS node-- if so, use those. If not, override with the service key
 	// credentials may exist on the actual AWS node-- if so, use those. If not, override with the service key
-	klog.Infof("AWS KEY USED FOR SPOT: '%s'", accessKeyID)
 	if accessKeyID != "" && accessKeySecret != "" {
 	if accessKeyID != "" && accessKeySecret != "" {
 		err := env.Set(env.AWSAccessKeyIDEnvVar, accessKeyID)
 		err := env.Set(env.AWSAccessKeyIDEnvVar, accessKeyID)
 		if err != nil {
 		if err != nil {