Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit72d9e0a

Browse files
chore: grammar
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent7d48630 commit72d9e0a

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

‎agent/agentcontainers/api.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -634,9 +634,8 @@ func (api *API) processUpdatedContainersLocked(ctx context.Context, updated code
634634

635635
varconsecutiveHyphenRegex=regexp.MustCompile("-+")
636636

637-
// safeAgentName returns an agent name safe version
638-
// of a folder name, falling back to a safe version
639-
// of the container name if unable to create a name.
637+
// `safeAgentName` returns a safe agent name derived from a folder name,
638+
// falling back to the container’s friendly name if needed.
640639
funcsafeAgentName(namestring,friendlyNamestring)string {
641640
// Keep only ASCII letters and digits, replacing everything
642641
// else with a hyphen.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp