[PR #317] [MERGED] cmd: check GetBlobsPath error #10096

Closed
opened 2026-04-12 22:51:34 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/317
Author: @soroushj
Created: 8/10/2023
Status: Merged
Merged: 8/10/2023
Merged by: @jmorganca

Base: mainHead: check-getblobspath-err


📝 Commits (1)

  • 9ba375c cmd: check GetBlobsPath error

📊 Changes

1 file changed (+7 additions, -3 deletions)

View changed files

📝 cmd/cmd.go (+7 -3)

📄 Description

The error returned by server.GetBlobsPath in showLayer was never checked. Check the error and return if not nil. Also, make newlines at the end of error messages consistent and fix a typo.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ollama/ollama/pull/317 **Author:** [@soroushj](https://github.com/soroushj) **Created:** 8/10/2023 **Status:** ✅ Merged **Merged:** 8/10/2023 **Merged by:** [@jmorganca](https://github.com/jmorganca) **Base:** `main` ← **Head:** `check-getblobspath-err` --- ### 📝 Commits (1) - [`9ba375c`](https://github.com/ollama/ollama/commit/9ba375ce46749e1a3eda5acf932a6148190deb07) cmd: check GetBlobsPath error ### 📊 Changes **1 file changed** (+7 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `cmd/cmd.go` (+7 -3) </details> ### 📄 Description The error returned by `server.GetBlobsPath` in `showLayer` was never checked. Check the error and return if not nil. Also, make newlines at the end of error messages consistent and fix a typo. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-12 22:51:34 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#10096