Skip to content

Commit

Permalink
Fix LGTM warning: Unreachable statement
Browse files Browse the repository at this point in the history
This statement is unreachable.
  • Loading branch information
DimitriPapadopoulos committed Sep 12, 2021
1 parent c926c59 commit 215cf0f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions cmd/internal/cli/push.go
Expand Up @@ -9,7 +9,6 @@ package cli
import (
"context"
"fmt"
"os"

"github.com/hpcng/singularity/docs"
"github.com/hpcng/singularity/internal/app/singularity"
Expand Down Expand Up @@ -120,7 +119,6 @@ var PushCmd = &cobra.Command{
fmt.Printf("TIP: You can push unsigned images with 'singularity push -U %s'.\n", file)
fmt.Printf("TIP: Learn how to sign your own containers by using 'singularity help sign'\n\n")
sylog.Fatalf("Unable to upload container: unable to verify signature")
os.Exit(3)
} else if err != nil {
sylog.Fatalf("Unable to push image to library: %v", err)
}
Expand Down

0 comments on commit 215cf0f

Please sign in to comment.