secureCodeBox/secureCodeBox

View on GitHub
lurker/main.go

Summary

Maintainability
A
1 hr
Test Coverage

Function uploadFile has 6 return statements (exceeds 4 allowed).
Open

func uploadFile(path, url string) error {
    file, err := os.Open(path)
    if err != nil {
        log.Printf("Failed to open file: %v", err)
        return err
Severity: Major
Found in lurker/main.go - About 40 mins to fix

    Function keepWaitingForMainContainerToExit has 5 arguments (exceeds 4 allowed). Consider refactoring.
    Open

    func keepWaitingForMainContainerToExit(context context.Context, container string, podName string, namespace string, clientset *kubernetes.Clientset) bool {
    Severity: Minor
    Found in lurker/main.go - About 35 mins to fix

      There are no issues that match your filters.

      Category
      Status