Seiya Homma
a5faf9e6e3
[MM-61775] Fix errcheck issues in server/channels/app/platform/web_broadcast_hook.go ( #29514 )
...
Co-authored-by: Caleb Roseland <caleb@calebroseland.com >
2025-01-27 11:26:28 +00:00
Arya Khochare
d2b334e605
Fixed errcheck issues in server/channels/app/server.go ( #29425 )
...
Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com >
2025-01-13 12:06:40 +01:00
Yahya Haq
0482b57bf8
[MM-29441] Fix errcheck issues in web_hub.go ( #29614 )
...
* fix errcheck for web_hub.go
* log user id
2024-12-23 15:09:50 +05:30
TheInvincible
812034f5eb
Update export.go (fix errcheck issue) ( #28971 )
2024-12-20 17:45:13 +01:00
Ivy Gesare
0e4e7ca0b9
[MM-61514] Fix errcheck issues in server/channels/app/web_broadcast_hooks_test.go ( #29213 )
...
Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com >
Co-authored-by: Caleb Roseland <caleb@calebroseland.com >
2024-12-17 15:09:24 -06:00
Arya Khochare
cf93d2a14e
Fixed errcheck issues in server/channels/app/export_test.go ( #29004 )
...
Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com >
2024-12-17 16:15:38 +01:00
Arya Khochare
1f7f0d20cd
Fixed errcheck issues in server/channels/app/migrations.go ( #29067 )
2024-12-17 14:16:37 +01:00
Arya Khochare
cdfadcf47d
Fixed errcheck issues in server/channels/app/security_update_check.go ( #29200 )
2024-12-17 12:52:43 +01:00
Rohan Sharma
a5a92d825a
[MM-61102] Fix errcheck issues in server/channels/app/channel_bookmark_test.go ( #28789 )
...
Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com >
2024-12-12 16:48:48 +01:00
Ivy Gesare
832b5a3332
[MM-61771] Fix errcheck issues in server/channels/app/platform/service_test.go ( #29375 )
...
Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com >
2024-12-12 13:51:16 +01:00
Seiya Homma
55500b573a
[MM-61776] Fix errcheck issues in server/channels/app/platform/web_conn.go ( #29515 )
2024-12-12 12:19:23 +01:00
Kyrillos Isaac
267c4133b7
[MM-61263] fix: errcheck issues in server/channels/app/job_test.go ( #29070 )
...
Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com >
2024-12-12 12:17:40 +01:00
AulakhHarsh
1b164c8302
Fix errcheck issues in server/channels/app/platform/service.go ( #29366 )
2024-12-12 11:22:57 +01:00
Jessie Kahn
82c1f7bf09
[MM-61508] Fixed errcheck issues in upload_test.go, [MM-61510] Fixed errcheck issues in user_test.go ( #29308 )
2024-12-05 12:22:41 +01:00
k srisri reddy
961fc6bfe9
fix: MM-61260: handled errors to fix linting ( #29340 )
...
Co-authored-by: Ibrahim Serdar Acikgoz <serdaracikgoz86@gmail.com >
2024-11-29 15:27:15 +00:00
Ivy Gesare
ff1ffc51dc
[MM-61460] Fix errcheck issues in server/channels/app/plugin_signature_test.go ( #29348 )
...
Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com >
2024-11-29 10:36:19 +01:00
AulakhHarsh
2c32040e2e
[MM-61769] Fix errcheck for /platform/searchengine.go ( #29341 )
...
Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com >
2024-11-28 10:17:33 +01:00
Arya Khochare
54eff271bd
Fixed errcheck issues in server/channels/app/integration_action_test.go ( #29039 )
...
Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com >
2024-11-27 14:02:12 +01:00
AulakhHarsh
d9981beb9d
Fix errcheck issues in server/channels/jobs/resend_invitation_email/worker.go ( #29353 )
...
Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com >
2024-11-27 12:07:31 +01:00
AulakhHarsh
edbcb247c6
Fix errcheck issues in server/channels/app/platform/log.go ( #29349 )
...
Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com >
2024-11-26 16:22:31 +01:00
Ivy Gesare
193f9463ed
Change: Fix errcheck issues in server/channels/app/platform/session_test.go ( #29376 )
2024-11-26 10:15:13 +08:00
AulakhHarsh
f4e9221261
[MM-61768] Fix #29337 Errcheck in channels/app/platform/metrics.go ( #29347 )
2024-11-25 13:44:36 +01:00
Ivy Gesare
a61ffadd84
[MM-61766] Fix errcheck issues in server/channels/app/platform/link_cache.go ( #29363 )
2024-11-25 13:41:16 +01:00
TheInvincible
8e2610e459
update status_test.go (fix errcheck issue) ( #29157 )
...
Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com >
2024-11-22 15:10:23 +01:00
Seiya Homma
5234b6897e
[MM-61761] Fix errcheck issues in channels/app/platform/cluster_handlers.go ( #29302 )
...
* Fixed errcheck issues
* fixed issues
* fixed issues
* Fix merge conflict
* fix code
2024-11-22 12:40:26 +05:30
David Edler
d59c5b2608
Fixed errcheck issues in server/channels/app/import_functions_test.go ( #29229 )
2024-11-21 13:14:07 +01:00
Arya Khochare
45860309b1
Fixed errcheck issues in server/channels/app/plugin_install.go ( #29062 )
...
Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com >
2024-11-21 11:30:30 +01:00
Arya Khochare
b986f39825
Fixed errcheck issues in server/channels/api4/user_test.go ( #28647 )
...
Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com >
2024-11-20 17:28:39 +01:00
TheoForger
4bb4f9814b
[MM-61077] Fix errcheck issues in server/channels/web/static.go ( #29285 )
...
Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com >
2024-11-20 14:44:22 +01:00
Rohan Sharma
5de425c298
[MM-61462] Fix errcheck issues in server/channels/app/post.go ( #29205 )
...
Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com >
2024-11-20 14:43:48 +01:00
Ivy Gesare
82bd3b6df1
[MM-61762] Fix errcheck issues in server/channels/app/platform/config_test.go ( #29323 )
...
Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com >
2024-11-20 12:23:44 +01:00
molejnik88
1a095f74c2
[MM-61459] Fix errcheck issues in server/channels/app/plugin_signatur… ( #29202 )
2024-11-20 10:40:05 +01:00
Arya Khochare
ed7a38e80c
Fixed errcheck issues in server/channels/app/server_test.go ( #29199 )
...
* errcheck issues fixed
* NoError to Error
---------
Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com >
2024-11-19 12:45:47 -05:00
Domenico Rizzo
f64402e5c5
MM-61519 Fix errcheck in channels/app/plugin_api_tests/test_update_user_auth_plugin/main.go ( #29284 )
...
* Removed test_update_user_auth_plugin from golangci
The test_update_user_auth_plugin has been removed from the .golangci.yml configuration file. This change simplifies the linting process by excluding unnecessary files.
* Refactored error handling in user auth tests
The error handling for the 'expectUserAuth' function within the user authentication plugin tests has been refactored. Previously, errors were not being explicitly checked after each call to this function. Now, an error check is performed after each invocation and if an error is found, it's immediately returned. This change improves the robustness of our test suite by ensuring that potential issues are caught and handled appropriately during testing.
* Refactor error handling in UpdateUserAuth
The error handling in the UpdateUserAuth function has been refactored. The variable 'err' was replaced with 'appErr' to better reflect its purpose and improve code readability.
* Updated user authentication in plugin API
The user authentication method in the plugin API has been updated. Previously, it was fetching the user based on a static configuration value. Now, it fetches the user dynamically using the provided userID. This change makes the function more flexible and adaptable to different use cases.
* Updated golangci configuration
Removed a test file from the exclusion list in the golangci.yml configuration. This will allow linting checks to be performed on this previously excluded file, improving code quality and consistency.
* Updated golangci configuration
Removed a test file from the exclusion list in the golangci configuration. This will ensure that our linting tools also cover this previously excluded test file, improving overall code quality checks.
---------
Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com >
2024-11-19 11:54:58 -05:00
David Edler
03a4462b19
Fixed errcheck issues in server/channels/app/channel_test.go ( #29233 )
...
Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com >
2024-11-19 12:46:27 +01:00
AulakhHarsh
e5a4b1efba
Fix errcheck issues in server/channels/app/platform/busy_test.go ( #29318 )
2024-11-19 10:45:54 +01:00
Rohan Sharma
aa0d117f30
[MM-61101] Fix errcheck issues in server/channels/app/channel.go ( #28787 )
...
Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com >
2024-11-19 08:56:23 +01:00
TheInvincible
c2c2bc1efe
update status.go (fix errcheck issue) ( #29156 )
...
Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com >
2024-11-18 09:23:11 +01:00
Rohan Sharma
c682f649b5
[MM-61464] Fix errcheck issues in server/channels/app/post_metadata.go ( #29204 )
...
Co-authored-by: Mattermost Build <build@mattermost.com >
2024-11-18 08:35:50 +01:00
pRAnaY
504934b612
fixed errcheck in test_serve_metrics_plugin ( #29289 )
2024-11-15 21:02:17 +01:00
Rohan Sharma
8aac1a0e2b
[MM-61466] Fix errcheck issues in server/channels/app/post_persistent_notification_test.go ( #29207 )
2024-11-15 13:55:11 +01:00
Domendra Singh Komra
ee1d6eb887
Fixes errcheck issues in server/channels/api4/team_test.go ( #29151 )
...
Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com >
2024-11-15 12:17:38 +01:00
Ivy Gesare
9b15c50418
[MM-61509] Fix errcheck issues in server/channels/app/user.go ( #29154 )
...
Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com >
2024-11-15 11:13:15 +01:00
mas-who
3da77f2f05
GH-29265: Fix errcheck errors in server/channels/app/platform/feature_flags.go ( #29269 )
...
Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com >
2024-11-15 09:32:11 +01:00
pRAnaY
7403d29634
[MM-61517] Fix errcheck issues in channels/app/plugin_api_tests/manual.test_http_hijack_plugin ( #29190 )
...
Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com >
2024-11-14 13:47:19 -06:00
mas-who
f48fd7b791
GH-28752 fix errcheck lint issues in server/channels/testlib/helper.go ( #29260 )
2024-11-14 13:13:45 +01:00
Seiya Homma
6e81e8c35c
[MM-61512] Fix errcheck issues in server/channels/app/users/helper_test.go ( #29167 )
...
Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com >
2024-11-14 10:19:52 +01:00
Arya Khochare
38e2f67583
Fixed errcheck issues in server/channels/app/slashcommands/command_loadtest.go ( #29169 )
...
Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com >
2024-11-14 09:51:53 +01:00
TheInvincible
45235a0ef6
Update file_info.go (fix errcheck issue) ( #28966 )
...
Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com >
2024-11-14 08:42:32 +01:00
Sumedha Koranga
e7e1d7d7ce
[MM-61513] Fix errcheck issues in channels/app/users/users_test.go fixes #29179 ( #29188 )
...
Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com >
2024-11-14 08:34:41 +01:00