Skip to content

Fix Model Armor sample path#2082

Open
Haihan-Jiang wants to merge 1 commit into
GoogleCloudPlatform:mainfrom
Haihan-Jiang:codex/kes-model-armor-path
Open

Fix Model Armor sample path#2082
Haihan-Jiang wants to merge 1 commit into
GoogleCloudPlatform:mainfrom
Haihan-Jiang:codex/kes-model-armor-path

Conversation

@Haihan-Jiang

Copy link
Copy Markdown

Fixes #1713.

The Model Armor sample had a directory named model-armor-guardrail with a trailing space. Paths like that are easy to miss on Unix-like systems and can break checkout on platforms that reject trailing spaces in path components.

This moves the sample manifest into model-armor-guardrail/ and also fixes the manifest indentation so the YAML parses cleanly.

Validation:

  • parsed ai-ml/gke-model-armor/model-armor-guardrail/model-armor-extension.yaml with Ruby YAML
  • checked the git file list for path components with leading or trailing spaces
  • git diff --cached --check

@snippet-bot

snippet-bot Bot commented May 30, 2026

Copy link
Copy Markdown

Here is the summary of changes.

You are about to add 1 region tag.
You are about to delete 1 region tag.

This comment is generated by snippet-bot.
If you find problems with this result, please file an issue at:
https://github.com/googleapis/repo-automation-bots/issues.
To update this comment, add snippet-bot:force-run label or use the checkbox below:

  • Refresh this comment

@Haihan-Jiang Haihan-Jiang force-pushed the codex/kes-model-armor-path branch from 2f8e129 to 6604c50 Compare June 14, 2026 10:43
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.

Space in the File name makes git clone fail

1 participant