[PR #20] [CLOSED] use ubus.STATUS_NOT_FOUND if the uspot instance has not been found. A… #41

Closed
opened 2026-03-04 14:52:39 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/f00b4r0/uspot/pull/20
Author: @pierrejoye
Created: 1/28/2025
Status: Closed

Base: nextHead: fix/use-ubus.status_not_found


📝 Commits (1)

  • f722537 use ubus.STATUS_NOT_FOUND if the uspot instance has not been found

📊 Changes

1 file changed (+4 additions, -4 deletions)

View changed files

📝 files/usr/share/uspotfilter/uspotfilter.uc (+4 -4)

📄 Description

Trivial litle change but handy to get the right error

Before:

ubus call 'uspotfilter' 'client_list'  "{'interface': 'captive2'}"
Command failed: Invalid argument

With STATUS_NOT_FOUND:

ubus call 'uspotfilter' 'client_list'  "{'interface': 'captive2'}"
Command failed: Not found

🔄 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/f00b4r0/uspot/pull/20 **Author:** [@pierrejoye](https://github.com/pierrejoye) **Created:** 1/28/2025 **Status:** ❌ Closed **Base:** `next` ← **Head:** `fix/use-ubus.status_not_found` --- ### 📝 Commits (1) - [`f722537`](https://github.com/f00b4r0/uspot/commit/f7225376b41e0b7a5d253b64a29bcbabf427a8f4) use ubus.STATUS_NOT_FOUND if the uspot instance has not been found ### 📊 Changes **1 file changed** (+4 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `files/usr/share/uspotfilter/uspotfilter.uc` (+4 -4) </details> ### 📄 Description Trivial litle change but handy to get the right error Before: ```shell ubus call 'uspotfilter' 'client_list' "{'interface': 'captive2'}" Command failed: Invalid argument ``` With STATUS_NOT_FOUND: ```shell ubus call 'uspotfilter' 'client_list' "{'interface': 'captive2'}" Command failed: Not found ``` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-04 14:52:39 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/uspot#41
No description provided.