Skip to content

Commit 9bd9cf4

Browse files
committed
Review Comments
Signed-off-by: Sameer Shaikh <[email protected]>
1 parent a3053eb commit 9bd9cf4

File tree

3 files changed

+2
-5
lines changed

3 files changed

+2
-5
lines changed

common/vpcclient/vpcfilevolume/list_subnets.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,7 @@ func (vs *FileShareService) ListSubnets(limit int, start string, filters *models
4444
var apiErr models.Error
4545

4646
request := vs.client.NewRequest(operation)
47-
ctxLogger.Info("Equivalent curl command", zap.Reflect("URL", request.URL()), zap.Reflect("Operation", operation))
48-
47+
4948
req := request.JSONSuccess(&subnets).JSONError(&apiErr)
5049

5150
if limit > 0 {

file/provider/create_volume_access_point.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,14 +73,12 @@ func (vpcs *VPCSession) CreateVolumeAccessPoint(volumeAccessPointRequest provide
7373
}
7474

7575
if len(volumeAccessPointRequest.SubnetID) != 0 {
76-
vpcs.Logger.Info("Using subnet...", zap.Reflect("subnetID", volumeAccessPointRequest.SubnetID))
7776
volumeAccessPoint.VirtualNetworkInterface.Subnet = &models.SubnetRef{
7877
ID: volumeAccessPointRequest.SubnetID,
7978
}
8079
}
8180

8281
if volumeAccessPointRequest.PrimaryIP != nil {
83-
vpcs.Logger.Info("Primary IP property provided using it for virtual network interface...")
8482
volumeAccessPoint.VirtualNetworkInterface.PrimaryIP = volumeAccessPointRequest.PrimaryIP
8583
}
8684
}

file/provider/get_security_group.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ import (
2727
"strings"
2828
)
2929

30-
// / GetSecurityGroup get the SecurityGroup based on the request
30+
// GetSecurityGroupForVolumeAccessPoint get the SecurityGroup based on the request
3131
func (vpcs *VPCSession) GetSecurityGroupForVolumeAccessPoint(securityGroupRequest provider.SecurityGroupRequest) (string, error) {
3232
vpcs.Logger.Info("Entry of GetSecurityGroupForVolumeAccessPoint method...", zap.Reflect("securityGroupRequest", securityGroupRequest))
3333
defer vpcs.Logger.Info("Exit from GetSecurityGroupForVolumeAccessPoint method...")

0 commit comments

Comments
 (0)