Skip to content

fix(unikernels/linux): remove always-true conditional in firecracker …#770

Closed
BRGOVIND wants to merge 1 commit into
urunc-dev:mainfrom
BRGOVIND:fix/linux-remove-fc-always-true-conditional
Closed

fix(unikernels/linux): remove always-true conditional in firecracker …#770
BRGOVIND wants to merge 1 commit into
urunc-dev:mainfrom
BRGOVIND:fix/linux-remove-fc-always-true-conditional

Conversation

@BRGOVIND

@BRGOVIND BRGOVIND commented Jun 22, 2026

Copy link
Copy Markdown

…block

In MonitorBlockCli, the firecracker switch case contained an inner check if l.Monitor == "firecracker" which is always true since we are already inside the "firecracker" case. Remove the redundant conditional and directly prepend the "FC" prefix to the block ID.

Description

Related issues

  • Fixes #

How was this tested?

LLM usage

Checklist

  • I have read the contribution guide.
  • The linter passes locally (make lint).
  • The e2e tests of at least one tool pass locally (make test_ctr, make test_nerdctl, make test_docker, make test_crictl).
  • If LLMs were used: I have read the llm policy.

…block

In MonitorBlockCli, the firecracker switch case contained an inner
check `if l.Monitor == "firecracker"` which is always true since we
are already inside the "firecracker" case. Remove the redundant
conditional and directly prepend the "FC" prefix to the block ID.

Signed-off-by: B R GOVIND <brgovind2005@gmail.com>
@netlify

netlify Bot commented Jun 22, 2026

Copy link
Copy Markdown

Deploy Preview for urunc canceled.

Name Link
🔨 Latest commit a79905d
🔍 Latest deploy log https://app.netlify.com/projects/urunc/deploys/6a38e25b2ebfd70008857260

@cmainas cmainas added do-not-merge duplicate This issue or pull request already exists labels Jun 22, 2026
@cmainas

cmainas commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

Duplicate with #764 and #748

@BRGOVIND

Copy link
Copy Markdown
Author

Duplicate with #764 and #748

Closing as duplicate of #748, thanks for the heads up, won't happen again.

@BRGOVIND BRGOVIND closed this Jun 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

do-not-merge duplicate This issue or pull request already exists

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants