Sebastiaan van Stijn
614d9b966f
daemon/libnetwork/options: GenerateFromModel: remove redundant check
...
This check was added in 14c5cd377d to prevent
passing `nil` as type (`GenerateFromModel[nil](....)`), however, `nil` is not
a type, so trying to do so won't compile. Even if it would, it would be
theoretical at best, so let's just remove it.
fix linting:
daemon/libnetwork/options/options.go:57:13: SA4023(related information): the lhs of the comparison is the 1st return value of this function call (staticcheck)
modType := reflect.TypeFor[T]()
^
daemon/libnetwork/options/options.go:58:5: SA4023: this comparison is never true (staticcheck)
if modType == nil {
^
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2025-12-17 14:19:53 +01:00
..
2025-12-15 18:56:34 +01:00
2025-12-15 18:56:34 +01:00
2025-12-16 12:38:36 +00:00
2025-12-15 18:56:34 +01:00
2025-12-15 18:56:34 +01:00
2025-12-15 18:56:34 +01:00
2025-12-15 18:56:34 +01:00
2025-12-15 18:56:34 +01:00
2025-12-15 18:56:33 +01:00
2025-05-30 15:59:13 +02:00
2025-12-17 13:05:50 +01:00
2025-12-17 14:19:53 +01:00
2025-12-15 18:56:33 +01:00
2025-07-31 10:13:29 -07:00
2025-12-16 16:55:20 +01:00
2025-07-31 10:13:29 -07:00
2025-10-30 17:11:38 -04:00
2025-12-16 13:31:33 +01:00
2025-12-17 11:37:48 +01:00
2025-07-31 10:13:29 -07:00
2025-10-27 16:39:32 +01:00
2025-04-07 16:19:02 +02:00
2025-12-15 18:56:34 +01:00
2025-05-30 15:59:13 +02:00
2025-07-22 18:48:39 +02:00
2025-07-31 10:13:29 -07:00
2025-07-13 16:37:36 +02:00
2025-07-31 10:13:29 -07:00
2025-09-19 16:02:14 +02:00
2025-07-31 10:13:29 -07:00
2025-10-09 20:13:26 -04:00
2025-07-31 10:13:29 -07:00
2025-07-21 09:30:05 -07:00
2025-08-08 19:19:21 +02:00
2025-09-19 16:02:14 +02:00
2025-09-05 10:20:06 +02:00
2025-09-11 15:25:14 -04:00
2025-12-15 18:56:33 +01:00
2025-07-21 09:30:05 -07:00
2025-07-31 10:13:29 -07:00
2025-11-24 14:14:27 +00:00
2025-10-03 21:39:14 +02:00
2025-08-08 17:07:07 +02:00
2025-12-15 18:56:33 +01:00
2025-10-03 17:30:42 -05:00
2025-07-31 10:13:29 -07:00
2025-12-11 11:07:42 +01:00
2025-07-29 11:16:25 +02:00
2025-08-08 19:19:21 +02:00
2025-04-22 11:31:10 +02:00
2025-11-16 18:25:42 +00:00
2025-11-16 18:25:42 +00:00
2025-12-10 10:30:44 +00:00
2025-09-08 10:08:35 +02:00
2025-12-15 18:56:34 +01:00
2025-12-11 11:07:42 +01:00
2025-10-25 16:13:30 +02:00
2025-11-25 19:30:27 +00:00
2025-08-08 17:07:07 +02:00
2025-05-30 15:59:13 +02:00
2025-11-16 18:20:12 +00:00
2025-12-11 20:45:23 +00:00
2025-07-31 10:13:29 -07:00
2025-05-30 15:59:13 +02:00
2025-07-31 10:13:29 -07:00
2025-09-19 15:33:36 +01:00
2025-11-10 16:08:12 +01:00
2025-05-30 15:59:13 +02:00
2025-06-05 14:44:18 +00:00
2025-07-31 10:13:29 -07:00
2025-08-13 16:59:39 +02:00
2025-11-13 20:52:15 +01:00
2023-08-23 15:47:43 +02:00
2025-10-25 16:13:30 +02:00
2025-08-08 17:07:07 +02:00
2025-12-15 18:56:33 +01:00
2025-07-31 10:13:29 -07:00
2025-07-31 10:13:29 -07:00
2025-07-31 10:13:29 -07:00
2025-09-19 16:02:14 +02:00
2025-09-19 16:02:14 +02:00
2025-09-19 15:33:36 +01:00
2025-11-10 16:08:15 +01:00
2025-11-12 07:53:46 -08:00
2025-11-12 07:53:46 -08:00
2025-05-30 15:59:13 +02:00
2025-11-13 20:52:15 +01:00
2025-11-13 10:05:49 +01:00
2025-11-13 10:05:49 +01:00
2025-05-30 15:59:13 +02:00
2025-12-15 18:56:34 +01:00
2025-10-31 02:09:38 +01:00
2025-12-15 10:36:05 +00:00
2025-08-26 20:18:57 +02:00
2025-10-21 09:15:18 +02:00
2025-08-26 20:18:57 +02:00
2025-12-15 18:56:33 +01:00
2025-05-30 15:59:13 +02:00
2025-05-30 15:59:13 +02:00
2025-09-19 16:02:14 +02:00
2025-07-31 10:13:29 -07:00
2025-07-31 10:13:29 -07:00
2025-07-31 10:13:29 -07:00
2025-12-15 18:56:34 +01:00
2025-07-31 10:13:29 -07:00
2025-07-31 10:13:29 -07:00
2025-12-15 18:56:34 +01:00
2025-07-31 10:13:29 -07:00
2025-07-31 10:13:29 -07:00
2025-07-21 09:30:05 -07:00
2025-09-19 16:02:14 +02:00
2025-07-31 10:13:29 -07:00
2025-10-05 13:41:22 +02:00
2025-11-10 16:08:12 +01:00
2025-09-19 16:02:14 +02:00
2025-12-15 18:56:34 +01:00
2025-10-03 21:39:14 +02:00
2025-07-31 10:13:29 -07:00
2025-12-15 18:56:34 +01:00
2025-12-16 13:31:33 +01:00
2025-12-16 13:31:33 +01:00
2025-07-31 10:13:29 -07:00
2025-07-31 10:13:29 -07:00
2025-07-31 10:13:29 -07:00
2025-10-05 13:41:22 +02:00
2025-10-25 16:13:30 +02:00
2025-11-05 15:48:02 +01:00
2025-12-15 18:56:34 +01:00
2025-07-31 10:13:29 -07:00
2025-07-31 10:13:29 -07:00
2025-12-15 13:59:09 +00:00
2025-10-29 18:42:36 +01:00
2025-09-25 22:53:48 +02:00
2025-07-31 10:13:29 -07:00
2025-09-19 16:02:14 +02:00
2025-08-08 17:07:07 +02:00
2025-08-08 17:07:07 +02:00
2025-08-08 17:07:07 +02:00
2025-07-31 10:13:29 -07:00
2025-07-31 10:13:29 -07:00
2025-07-31 10:13:29 -07:00
2025-07-21 09:30:05 -07:00
2025-07-31 10:13:29 -07:00
2025-07-31 10:13:29 -07:00
2025-09-19 16:02:14 +02:00
2025-08-08 21:41:17 +02:00
2025-09-19 15:33:36 +01:00
2025-07-31 10:13:29 -07:00
2025-05-16 10:23:49 -04:00
2025-10-27 16:39:32 +01:00
2025-10-27 16:39:32 +01:00
2025-10-27 16:39:32 +01:00
2025-09-19 16:02:14 +02:00
2025-05-30 15:59:13 +02:00
2025-09-19 16:02:14 +02:00
2025-09-19 16:02:14 +02:00
2025-09-19 16:02:14 +02:00
2025-07-21 09:30:05 -07:00
2025-09-16 13:08:36 +02:00
2025-07-31 10:13:29 -07:00
2025-09-19 16:02:14 +02:00
2025-07-21 09:30:05 -07:00
2025-07-31 10:13:29 -07:00
2025-07-31 10:13:29 -07:00
2025-07-31 10:13:29 -07:00
2025-07-31 10:13:29 -07:00
2025-12-15 18:56:33 +01:00
2025-09-19 16:02:14 +02:00
2025-08-01 01:48:55 +02:00