File tree Expand file tree Collapse file tree 3 files changed +28
-3
lines changed Expand file tree Collapse file tree 3 files changed +28
-3
lines changed Original file line number Diff line number Diff line change 11version : " 2" 
22run :
3-   concurrency :  4 
3+   allow-parallel-runners :  true 
44linters :
5+   default : none 
6+   enable :
7+     - copyloopvar 
8+     - dupl 
9+     - errcheck 
10+     - ginkgolinter 
11+     - goconst 
12+     - gocyclo 
13+     - govet 
14+     - ineffassign 
15+     - misspell 
16+     - nakedret 
17+     - prealloc 
18+     - revive 
19+     - staticcheck 
20+     - unconvert 
21+ #     - unparam
22+     - unused 
23+   settings :
24+     revive :
25+       rules :
26+         - name : comment-spacings 
527  exclusions :
628    generated : lax 
729    presets :
@@ -16,6 +38,9 @@ linters:
1638      - builtin$ 
1739      - examples$ 
1840formatters :
41+   enable :
42+     - gofmt 
43+     - goimports 
1944  exclusions :
2045    generated : lax 
2146    paths :
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ type CatalogResponse struct {
1717	Repositories  []string  `json:"repositories"` 
1818}
1919
20- /**  
20+ /* 
2121 * @Description: GetRepositoriesInOCIRegistry returns the repositories in the OCI registry 
2222 * @param ociRegistry string - the OCI registry URL without paths 
2323 * @param creds RegistryCredentials - the credentials to access the OCI registry 
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ const (
2222	msgReadyNotPresent  =  "Unable to check healthiness. Ready condition is not present." 
2323)
2424
25- ///  use strategy for  with adapter pattern 
25+ // use strategy for  with adapter pattern 
2626// adapter for third party types to conform to a common interface 
2727// use strategy for the reconcilers on how each can be reconciled e.g. for the applyResources method in flux-reconciler 
2828
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments