Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
H
helm3
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
helm3
Commits
4b718274
Commit
4b718274
authored
Aug 26, 2016
by
joe2far
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(tiller): truncate release name returned from moniker
parent
56500729
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
release_server.go
cmd/tiller/release_server.go
+1
-2
No files found.
cmd/tiller/release_server.go
View file @
4b718274
...
...
@@ -333,8 +333,7 @@ func (s *releaseServer) uniqName(start string, reuse bool) (string, error) {
namer
:=
moniker
.
New
()
name
:=
namer
.
NameSep
(
"-"
)
if
len
(
name
)
>
releaseNameMaxLen
{
log
.
Printf
(
"info: Candidate name %q exceeds maximum length %d. Skipping."
,
name
,
releaseNameMaxLen
)
continue
name
=
name
[
:
releaseNameMaxLen
]
}
if
_
,
err
:=
s
.
env
.
Releases
.
Get
(
name
);
err
==
driver
.
ErrReleaseNotFound
{
return
name
,
nil
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment