func/pkg
Matej Vašek 8e0b752edc
Apply linter suggestions (#2786)
* Refactor: if-elif-else => switch

Signed-off-by: Matej Vašek <mvasek@redhat.com>

* Cleanup: calls to embedded fields

Signed-off-by: Matej Vašek <mvasek@redhat.com>

* Fix: add missing err checks

Signed-off-by: Matej Vašek <mvasek@redhat.com>

* Cleanup: fix format of error messages

Signed-off-by: Matej Vašek <mvasek@redhat.com>

* Cleanup: omit type where possible

Signed-off-by: Matej Vašek <mvasek@redhat.com>

* Cleanup: apply De Morgan's law

Signed-off-by: Matej Vašek <mvasek@redhat.com>

* Cleanup: call ReplaceAll where possible

Signed-off-by: Matej Vašek <mvasek@redhat.com>

* Cleanup: fix format of error messages

Signed-off-by: Matej Vašek <mvasek@redhat.com>

* Cleanup: fix format of error messages

Signed-off-by: Matej Vašek <mvasek@redhat.com>

---------

Signed-off-by: Matej Vašek <mvasek@redhat.com>
2025-04-15 09:43:13 +00:00
..
app allow go install knative.dev/func@{version} (#2220) 2024-03-13 02:27:10 +00:00
builders Apply linter suggestions (#2786) 2025-04-15 09:43:13 +00:00
config fix: HOME with different permissions (#2361) 2024-09-09 07:20:04 +00:00
docker Apply linter suggestions (#2786) 2025-04-15 09:43:13 +00:00
filesystem feat: scaffolded functions certs (#1823) 2023-06-26 18:57:51 +00:00
functions Apply linter suggestions (#2786) 2025-04-15 09:43:13 +00:00
git Apply linter suggestions (#2786) 2025-04-15 09:43:13 +00:00
http Fix pod security context (#1889) 2023-07-26 20:03:41 +00:00
k8s Apply linter suggestions (#2786) 2025-04-15 09:43:13 +00:00
knative Apply linter suggestions (#2786) 2025-04-15 09:43:13 +00:00
mock Python Middleware v2 Scaffolding (#2685) 2025-04-02 10:44:05 +00:00
oci Apply linter suggestions (#2786) 2025-04-15 09:43:13 +00:00
pipelines Apply linter suggestions (#2786) 2025-04-15 09:43:13 +00:00
random feat: Pipelines as Code - initial support (pack) (#1594) 2023-03-07 15:41:20 +00:00
scaffolding Fix: Go scaffolding uses correct module name (#2769) 2025-04-04 05:27:05 +00:00
ssh test: tests for SSH connector (#2003) 2023-10-23 12:27:45 +00:00
tar Apply linter suggestions (#2786) 2025-04-15 09:43:13 +00:00
testing Fix test failures in OCP prow CI (#2503) 2024-09-16 06:57:35 +00:00
utils Fix linter issues (#2420) 2024-07-09 13:48:22 +00:00