kubernetes-sigs / vsphere-csi-driver

vSphere storage Container Storage Interface (CSI) plugin
https://docs.vmware.com/en/VMware-vSphere-Container-Storage-Plug-in/index.html
Apache License 2.0
295 stars 181 forks source link

Writing data into the volume from Pod code fix #3092

Closed sipriyaa closed 1 month ago

sipriyaa commented 1 month ago

What this PR does / why we need it: This PR fixes writing data to the volume from the pod and corrects the code for syncing data into the volume.

Testing done: Yes writingPod.txt

sipriya@C02CR8ENMD6M vsphere-csi-driver % sipriya@C02CR8ENMD6M vsphere-csi-driver % golangci-lint run --enable=lll sipriya@C02CR8ENMD6M vsphere-csi-driver % make golangci-lint hack/check-golangci-lint.sh golangci/golangci-lint info checking GitHub for tag 'v1.59.1' golangci/golangci-lint info found version: 1.59.1 for v1.59.1/darwin/amd64 golangci/golangci-lint info installed /Users/sipriya/go/bin/golangci-lint INFO golangci-lint has version 1.59.1 built with go1.22.3 from 1a55854a on 2024-06-09T18:08:33Z INFO [config_reader] Config search paths: [./ /Users/sipriya/spherelet/vsphere-csi-driver /Users/sipriya/spherelet /Users/sipriya /Users /] INFO [config_reader] Used config file .golangci.yml INFO [lintersdb] Active 8 linters: [errcheck gosimple govet ineffassign lll misspell staticcheck unused]

kavyashree-r commented 1 month ago

/approve /lgtm

k8s-ci-robot commented 1 month ago

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: kavyashree-r, rajguptavm, sipriyaa

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files: - ~~[tests/e2e/OWNERS](https://github.com/kubernetes-sigs/vsphere-csi-driver/blob/master/tests/e2e/OWNERS)~~ [kavyashree-r,sipriyaa] Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment