Skip to content

fix: correct --logs CLI option default comparison value#145

Draft
hussein-awala wants to merge 1 commit intomainfrom
fix/logs-option-default-mismatch
Draft

fix: correct --logs CLI option default comparison value#145
hussein-awala wants to merge 1 commit intomainfrom
fix/logs-option-default-mismatch

Conversation

@hussein-awala
Copy link
Owner

Summary

  • The --logs CLI option default compared against "logs" (plural) but SparkAppWait.LOG is "log" (singular)
  • This meant setting SPARK_ON_K8S_APP_WAITER=log would never activate the --logs flag by default

Test plan

  • Verify SPARK_ON_K8S_APP_WAITER=log correctly sets --logs default to True
  • Verify SPARK_ON_K8S_APP_WAITER=no_wait keeps --logs default as False

🤖 Generated with Claude Code

The logs option compared against "logs" (plural) but the SparkAppWait
enum uses "log" (singular), so the default was never True from env config.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant