Skip to content

Commit

Permalink
Merge pull request apptainer#4297 from WestleyK/push_uri_fix
Browse files Browse the repository at this point in the history
Fail if trying to push to a unsupported transport type
  • Loading branch information
ikaneshiro authored Aug 22, 2019
2 parents dbb333f + 23717bf commit 7a1d496
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmd/internal/cli/push.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,8 @@ var PushCmd = &cobra.Command{
sylog.Fatalf("Unable to push image to oci registry: %v", err)
}
sylog.Infof("Upload complete")
default:
sylog.Fatalf("Unsupported transport type: %s", transport)
}
},

Expand Down

0 comments on commit 7a1d496

Please sign in to comment.