Skip to content

Commit 34e7df8

Browse files
uneet7YashwantGohokar
authored andcommitted
Upgrade upstream deps to v1.33.1
1 parent 5a4a739 commit 34e7df8

File tree

1,736 files changed

+105339
-83129
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,736 files changed

+105339
-83129
lines changed

.github/workflows/makefile.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
- name: Set up Go 1.x
1313
uses: actions/setup-go@v2
1414
with:
15-
go-version: '1.22.9'
15+
go-version: '1.24.0'
1616
id: go
1717

1818
- name: Check out code into the Go module directory

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
ARG CI_IMAGE_REGISTRY
1616

17-
FROM golang:1.23.4 as builder
17+
FROM golang:1.24.0 as builder
1818

1919
ARG COMPONENT
2020

Dockerfile_arm_all

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
ARG CI_IMAGE_REGISTRY
22

3-
FROM golang:1.23.4 as builder
3+
FROM golang:1.24.0 as builder
44

55
ARG COMPONENT
66

go.mod

Lines changed: 102 additions & 113 deletions
Large diffs are not rendered by default.

go.sum

Lines changed: 215 additions & 289 deletions
Large diffs are not rendered by default.

pkg/cloudprovider/providers/oci/load_balancer_spec.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1222,8 +1222,8 @@ func getListenersNetworkLoadBalancer(svc *v1.Service, listenerBackendIpVersion [
12221222
listeners[listenerName] = genericListener
12231223
}
12241224
if requireIPv6 {
1225-
listenerNameIPv6 := fmt.Sprintf(listenerName + "-" + IPv6)
1226-
backendSetNameIPv6 := fmt.Sprintf(backendSetName + "-" + IPv6)
1225+
listenerNameIPv6 := fmt.Sprintf("%s", listenerName+"-"+IPv6)
1226+
backendSetNameIPv6 := fmt.Sprintf("%s", backendSetName+"-"+IPv6)
12271227
genericListener.Name = common.String(listenerNameIPv6)
12281228
genericListener.IpVersion = GenericIpVersion(client.GenericIPv6)
12291229
genericListener.DefaultBackendSetName = common.String(backendSetNameIPv6)
@@ -1580,7 +1580,7 @@ func getBackendSetNamePortMap(service *v1.Service) map[string]v1.ServicePort {
15801580
} else {
15811581
backendSetName = getBackendSetName(string(servicePort.Protocol), int(servicePort.Port))
15821582
}
1583-
backendSetNameIPv6 := fmt.Sprintf(backendSetName + "-" + IPv6)
1583+
backendSetNameIPv6 := fmt.Sprintf("%s", backendSetName+"-"+IPv6)
15841584
backendSetPortMap[backendSetNameIPv6] = servicePort
15851585
}
15861586

pkg/cloudprovider/providers/oci/load_balancer_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1246,7 +1246,7 @@ func Test_addLoadBalancerOkeSystemTags(t *testing.T) {
12461246
}
12471247
}
12481248
err := clb.addLoadBalancerOkeSystemTags(context.Background(), testcase.lb, testcase.spec)
1249-
t.Logf(err.Error())
1249+
t.Logf("%s", err.Error())
12501250
if !assertError(err, testcase.wantErr) {
12511251
t.Errorf("Expected error = %v, but got %v", testcase.wantErr, err)
12521252
return

pkg/cloudprovider/providers/oci/load_balancer_util.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ func hasBackendSetChanged(logger *zap.SugaredLogger, actual client.GenericBacken
300300
}
301301

302302
if len(backendChanges) != 0 {
303-
backendSetChanges = append(backendChanges)
303+
backendSetChanges = append(backendSetChanges, backendChanges...)
304304
}
305305

306306
if len(backendSetChanges) != 0 {
@@ -667,13 +667,13 @@ func getSanitizedName(name string) string {
667667
fields := strings.Split(name, "-")
668668
if strings.EqualFold(fields[0], "HTTP") {
669669
fields[0] = "TCP"
670-
name = fmt.Sprintf(strings.Join(fields, "-"))
670+
name = fmt.Sprintf("%s", strings.Join(fields, "-"))
671671
}
672672
if len(fields) > 2 {
673673
if contains(fields, IPv6) {
674-
return fmt.Sprintf(strings.Join(fields[:3], "-"))
674+
return fmt.Sprintf("%s", strings.Join(fields[:3], "-"))
675675
}
676-
return fmt.Sprintf(strings.Join(fields[:2], "-"))
676+
return fmt.Sprintf("%s", strings.Join(fields[:2], "-"))
677677
}
678678
return name
679679
}

pkg/csi/driver/bv_controller.go

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ func extractVolumeParameters(log *zap.SugaredLogger, parameters map[string]strin
142142
case attachmentType:
143143
attachmentTypeLower := strings.ToLower(v)
144144
if attachmentTypeLower != attachmentTypeISCSI && attachmentTypeLower != attachmentTypeParavirtualized {
145-
return p, status.Errorf(codes.InvalidArgument, fmt.Sprintf("invalid attachment-type: %s provided "+
145+
return p, status.Errorf(codes.InvalidArgument, "%s", fmt.Sprintf("invalid attachment-type: %s provided "+
146146
"for storageclass. supported attachment-types are %s and %s", v, attachmentTypeISCSI, attachmentTypeParavirtualized))
147147
}
148148
p.attachmentParameter[attachmentType] = attachmentTypeLower
@@ -196,7 +196,7 @@ func extractSnapshotParameters(parameters map[string]string) (SnapshotParameters
196196
} else if backupTypeLower == backupTypeFull {
197197
p.backupType = core.CreateVolumeBackupDetailsTypeFull
198198
} else {
199-
return p, status.Errorf(codes.InvalidArgument, fmt.Sprintf("invalid backupType: %s provided "+
199+
return p, status.Errorf(codes.InvalidArgument, "%s", fmt.Sprintf("invalid backupType: %s provided "+
200200
"in volumesnapshotclass. supported backupType are %s and %s", v, backupTypeIncremental, backupTypeFull))
201201
}
202202
case backupFreeformTags:
@@ -465,7 +465,6 @@ func (d *BlockVolumeControllerDriver) CreateVolume(ctx context.Context, req *csi
465465
fullAvailabilityDomainName = *ad.Name
466466
}
467467

468-
469468
bvTags := getBVTags(log, d.config.Tags, volumeParams)
470469

471470
provisionedVolume, err = provision(ctx, log, d.client, volumeName, size, fullAvailabilityDomainName, d.config.CompartmentID, srcSnapshotId, srcVolumeId,
@@ -1061,7 +1060,6 @@ func (d *BlockVolumeControllerDriver) ValidateVolumeCapabilities(ctx context.Con
10611060
return nil, status.Errorf(codes.NotFound, "Volume ID not found.")
10621061
}
10631062
found = *volume.Id == volumeID
1064-
supportedVolumeCapabilities = supportedVolumeCapabilities
10651063
}
10661064

10671065
if !found {

pkg/csi/driver/bv_node.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -696,7 +696,7 @@ func (d BlockVolumeNodeDriver) NodeUnpublishVolume(ctx context.Context, req *csi
696696
return &csi.NodeUnpublishVolumeResponse{}, nil
697697
}
698698
logger.With(zap.Error(rbvCheckErr)).Error("failed to check if it is a device file")
699-
return nil, status.Errorf(codes.Internal, rbvCheckErr.Error())
699+
return nil, status.Errorf(codes.Internal, "%s", rbvCheckErr.Error())
700700
}
701701

702702
if acquired := d.volumeLocks.TryAcquire(req.VolumeId); !acquired {

0 commit comments

Comments
 (0)