Skip to content

feat: add hostname validation for master#291

Merged
lzjqsdd merged 1 commit intoCurvineIO:mainfrom
jlon:hostname
Sep 19, 2025
Merged

feat: add hostname validation for master#291
lzjqsdd merged 1 commit intoCurvineIO:mainfrom
jlon:hostname

Conversation

@jlon
Copy link
Copy Markdown
Contributor

@jlon jlon commented Sep 18, 2025

feat: add hostname validation for master

// Check the environment variable configuration.
if let Ok(v) = env::var(Self::ENV_MASTER_HOSTNAME) {
conf.master.hostname = v.to_owned();
let hostname_exists = conf
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The hostname value configured in the master should be checked; the user may not have configured the environment variable.

@lzjqsdd lzjqsdd merged commit 410f200 into CurvineIO:main Sep 19, 2025
3 checks passed
@lzjqsdd lzjqsdd added the enhancement New feature or request label Sep 22, 2025
@jlon jlon deleted the hostname branch October 9, 2025 02:50
Coderlxl pushed a commit to Coderlxl/curvine that referenced this pull request Dec 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants