Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions blobfuse2-1es_ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -95,12 +95,18 @@ extends:
value: '$(Agent.TempDirectory)/go'

steps:

# Pull and build the code, Run the Unit Tests
- template: 'azure-pipeline-templates/build.yml@self'
parameters:
skip_azcli: "false"
skip_ut: "false"

- script: |
go mod tidy
go vet -tags=$(tags) ./...
displayName: 'Run go vet'

# Code lint checks (Static-analysis)
- script: |
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin
Expand Down
2 changes: 1 addition & 1 deletion cmd/mount.go
Original file line number Diff line number Diff line change
Expand Up @@ -518,7 +518,7 @@ var mountCmd = &cobra.Command{
LogFileName: traceFilePath, // this will redirect stderr of child to given file
}

ctx, _ := context.WithCancel(context.Background()) //nolint
ctx := context.Background()

// Signal handlers for parent and child to communicate success or failures in mount
var sigusr2 chan os.Signal
Expand Down
Loading