Skip to content

Commit

Permalink
update actions and remove deprecated function
Browse files Browse the repository at this point in the history
  • Loading branch information
chimanjain committed Jun 20, 2024
1 parent b02e53d commit d4652b6
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/actions.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
name: Workflow
on:
push:
branches: [ main ]
branches: [main]
pull_request:
branches: [ main ]
branches: [main]
jobs:
code-check:
name: Check Go formatting, linting, vetting
runs-on: ubuntu-latest
steps:
- name: Checkout the code
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Run the formatter, linter, and vetter
uses: dell/common-github-actions/go-code-formatter-linter-vetter@main
with:
Expand All @@ -20,7 +20,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout the code
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Run Go Security
uses: securego/gosec@master
with:
Expand All @@ -30,7 +30,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout the code
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Run malware scan
uses: dell/common-github-actions/malware-scanner@main
with:
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# csi-metadata-retriever


[![Go Report Card](https://goreportcard.com/badge/github.com/dell/csi-vxflexos?style=flat-square)](https://goreportcard.com/report/github.com/dell/csi-metadata-retriever)
[![License](https://img.shields.io/github/license/dell/csi-vxflexos?style=flat-square&color=blue&label=License)](https://github.com/dell/csi-metadata-retriever/blob/main/LICENSE)
[![Last Release](https://img.shields.io/github/v/release/dell/csi-vxflexos?label=Latest&style=flat-square&logo=go)](https://github.com/dell/csi-metadata-retriever/releases)
Expand All @@ -21,7 +20,9 @@ Dell csi-metadata-retriever controller retrieves metadata from a Kubernetes clus
* [Documentation](#documentation)

## Support

For any issues, questions or feedback, please follow our [support process](https://github.com/dell/csm/blob/main/docs/SUPPORT.md)

## Documentation

For more detailed information on the driver, please refer to [Container Storage Modules documentation](https://dell.github.io/csm-docs/).
3 changes: 2 additions & 1 deletion retriever/go-metadata-retriever_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ import (
"github.com/dell/csi-metadata-retriever/service"
"github.com/dell/csi-metadata-retriever/utils"
"google.golang.org/grpc"
"google.golang.org/grpc/credentials/insecure"
)

var grpcClient *grpc.ClientConn
Expand Down Expand Up @@ -84,7 +85,7 @@ func startServer(ctx context.Context, sp *retriever.Plugin, gracefulStop bool) (
fmt.Printf("network %v addr %v\n", network, addr)

clientOpts := []grpc.DialOption{
grpc.WithInsecure(),
grpc.WithTransportCredentials(insecure.NewCredentials()),
}

// Create a client for the piped connection.
Expand Down

0 comments on commit d4652b6

Please sign in to comment.