debian-forge-composer/internal
Tomas Hozza 322ae02f73 internal/container: delete leftover dead code
This issue was found by Coverity:

Error: DEADCODE (CWE-561): [#def1]
osbuild-composer-58/_build/src/github.com/osbuild/osbuild-composer/internal/container/client.go:386: cond_null: Condition "err != nil", taking false branch. Now the value of "err" is "nil".
osbuild-composer-58/_build/src/github.com/osbuild/osbuild-composer/internal/container/client.go:390: null: At condition "err != nil", the value of "err" must be "nil".
osbuild-composer-58/_build/src/github.com/osbuild/osbuild-composer/internal/container/client.go:390: dead_error_condition: The condition "err != nil" cannot be true.
osbuild-composer-58/_build/src/github.com/osbuild/osbuild-composer/internal/container/client.go:391: dead_error_line: Execution cannot reach this statement: "<temporary>.$0 = container....".
  389|
  390|   	if err != nil {
  391|-> 		return resolvedIds{}, nil
  392|   	}
  393|
2022-07-29 23:20:09 +02:00
..
artifact artifact: this represents the artifacts a manifest exports 2022-07-22 16:04:07 +02:00
auth go.mod: Update openshift-online/ocm-sdk-go 2022-05-19 22:18:42 +02:00
blueprint blueprint: add support for containers 2022-07-21 13:32:07 +02:00
boot Move GetRedHatRelease() and GetHostDistroName() to common package 2022-06-10 14:48:18 +01:00
client tests: use TestMain() instead of Init() to compile mock-dnf-json 2022-06-01 11:36:52 +01:00
cloud remove cloud cleaner 2022-07-01 17:47:44 +02:00
cloudapi worker/server: rename JobStatus() to JobInfo() 2022-07-27 13:37:14 +02:00
common Move GetRedHatRelease() and GetHostDistroName() to common package 2022-06-10 14:48:18 +01:00
container internal/container: delete leftover dead code 2022-07-29 23:20:09 +02:00
crypt crypt: add automatic darwin support 2020-07-17 07:48:22 +02:00
disk disk/partition_table: expose GetBuildPackages() function 2022-07-12 08:19:57 +01:00
distro distro/rhel7: blacklist skx_edac,intel_cstate kernel modules on azure 2022-07-28 17:00:11 +01:00
distroregistry remove all traces of fedora 34 2022-07-18 20:38:33 +02:00
dnfjson jobqueue: Move jobqueue out of internal 2022-07-04 15:37:28 +02:00
environment environment: encapsulate the environment images are deployed to 2022-07-07 12:00:56 +01:00
image image: introduce image kinds for Fedora 2022-07-22 16:04:07 +02:00
jobqueue jobqueue: store an expiry date 2022-07-13 17:26:04 +02:00
jsondb test: use T.TempDir to create temporary test directory 2022-04-05 09:27:43 +02:00
manifest artifact: this represents the artifacts a manifest exports 2022-07-22 16:04:07 +02:00
mocks dnfjson: drop repo checksums 2022-06-01 11:36:52 +01:00
osbuild osbuild: use path as secondary sort key for fstab 2022-07-27 18:29:59 +02:00
ostree ostree: add new CommitSource type 2022-06-15 20:13:47 +02:00
platform platform: include image format 2022-07-22 16:04:07 +02:00
prometheus metrics: build jobs arch label 2022-07-27 13:37:14 +02:00
reporegistry reporegistry: remove unused ReposByArch() function 2022-03-09 23:22:06 +00:00
rhsm internal/rhsm: implement fallback to the previous mechanism 2021-08-09 12:40:23 +02:00
rpmmd Rename osbuild2 package to osbuild 2022-07-14 16:54:00 +02:00
runner runner: introduce runner abstraction 2022-07-12 08:19:57 +01:00
store distro: add containers arg to ImageType.Manifest 2022-07-21 13:32:07 +02:00
target worker: move osbuild exports from OSBuildJob to target 2022-07-01 18:55:01 +01:00
test cloudapi: run all Koji compose unit tests 2022-06-10 14:48:18 +01:00
upload worker/osbuild: stop handling VMDK stream-optimized conversion 2022-07-01 18:55:01 +01:00
weldr worker/server: rename JobStatus() to JobInfo() 2022-07-27 13:37:14 +02:00
worker worker/server: rename JobStatus() to JobInfo() 2022-07-27 13:37:14 +02:00
workload workload: introduce abstraction to encapsulate image workloads 2022-07-07 12:00:56 +01:00
tools.go go: vendor the oapi-codegen cmd 2021-02-01 15:32:58 +01:00