Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

cmd: subscribe silently ignores malformed --filter values

クローズ
#3,941 コメント 1 件 リアクション 0 件 担当者 1 名 GitHub で見る

メンテナーはふだん 2 日以内に返信

@axhatggg がすでに取り組んでいます。

2026年9月2日 から。

評価

この issue はまだ評価されていません。

説明

Problem

func subscribe --filter expects filters in key=value form, but malformed values are currently printed and ignored instead of returning an error.

For example:

func subscribe --filter badfilter

prints Invalid pair: badfilter, continues, and can still write subscription config without the intended filter.

Expected behavior

Malformed filters should fail before func.yaml is changed. Valid values containing = should still be preserved, for example --filter foo=bar=baz should store key foo with value bar=baz.

Suggested fix

Return an error for missing = or an empty key, and add regression tests for malformed filters and values containing =.

主要言語
Go
スター
365
フォーク
224
平均マージ
1日 13時間
マージ済み PR(30日)
17

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

knative/func のほかの issue

knative/func の issue をすべて見る

似ている issue

Go の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。