Merge pull request #9290 from ktock/golangci-lint-1.55.0
ci: bump up golangci-lint to v1.55.0
This commit is contained in:
		
							
								
								
									
										2
									
								
								.github/workflows/ci.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/ci.yml
									
									
									
									
										vendored
									
									
								
							@@ -39,7 +39,7 @@ jobs:
 | 
			
		||||
      - uses: actions/checkout@v3
 | 
			
		||||
      - uses: golangci/golangci-lint-action@v3
 | 
			
		||||
        with:
 | 
			
		||||
          version: v1.54.2
 | 
			
		||||
          version: v1.55.0
 | 
			
		||||
          skip-cache: true
 | 
			
		||||
          args: --timeout=8m
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -117,9 +117,8 @@ func parseEndpoint(endpoint string) (string, string, error) {
 | 
			
		||||
		return "npipe", fmt.Sprintf("//%s%s", host, u.Path), nil
 | 
			
		||||
	} else if u.Scheme == "" {
 | 
			
		||||
		return "", "", fmt.Errorf("Using %q as endpoint is deprecated, please consider using full url format", endpoint)
 | 
			
		||||
	} else {
 | 
			
		||||
		return u.Scheme, "", fmt.Errorf("protocol %q not supported", u.Scheme)
 | 
			
		||||
	}
 | 
			
		||||
	return u.Scheme, "", fmt.Errorf("protocol %q not supported", u.Scheme)
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
var tickCount = syscall.NewLazyDLL("kernel32.dll").NewProc("GetTickCount64")
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user