From b9a26661f231e7e69928266b25808f07f0f76b7d Mon Sep 17 00:00:00 2001 From: Akshay Saini <109056238+AkshaySainiDell@users.noreply.github.com> Date: Tue, 12 Nov 2024 04:36:52 -0600 Subject: [PATCH] Fix UT and github action --- .github/workflows/actions.yml | 2 +- pkg/common/common_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index 6c8bef4e..e9944263 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -6,7 +6,7 @@ on: branches: [ main ] jobs: code-check: - name: Check Go formatting, vetting + name: Check Go formatting, linting, vetting runs-on: ubuntu-latest steps: - name: Checkout the code diff --git a/pkg/common/common_test.go b/pkg/common/common_test.go index df62ea79..6a69d47f 100644 --- a/pkg/common/common_test.go +++ b/pkg/common/common_test.go @@ -482,7 +482,7 @@ func TestGetMountFlags(t *testing.T) { for _, tt := range tests { t.Run(tt.name, func(t *testing.T) { - result := GetMountFlags(tt.vc) + result := common.GetMountFlags(tt.vc) assert.Equal(t, tt.expected, result) }) }