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
881153cc
Commit
881153cc
authored
Jan 10, 2017
by
Adam Reese
Committed by
GitHub
Jan 10, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1812 from adamreese/fix/1807-purge-error
fix(tiller): don't update purged releases
parents
c8af660b
6600fcb0
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
release_server.go
pkg/tiller/release_server.go
+5
-2
No files found.
pkg/tiller/release_server.go
View file @
881153cc
...
@@ -981,13 +981,16 @@ func (s *ReleaseServer) UninstallRelease(c ctx.Context, req *services.UninstallR
...
@@ -981,13 +981,16 @@ func (s *ReleaseServer) UninstallRelease(c ctx.Context, req *services.UninstallR
}
}
}
}
rel
.
Info
.
Status
.
Code
=
release
.
Status_DELETED
if
req
.
Purge
{
if
req
.
Purge
{
if
err
:=
s
.
purgeReleases
(
rels
...
);
err
!=
nil
{
err
:=
s
.
purgeReleases
(
rels
...
)
if
err
!=
nil
{
log
.
Printf
(
"uninstall: Failed to purge the release: %s"
,
err
)
log
.
Printf
(
"uninstall: Failed to purge the release: %s"
,
err
)
}
}
return
res
,
err
}
}
rel
.
Info
.
Status
.
Code
=
release
.
Status_DELETED
if
err
:=
s
.
env
.
Releases
.
Update
(
rel
);
err
!=
nil
{
if
err
:=
s
.
env
.
Releases
.
Update
(
rel
);
err
!=
nil
{
log
.
Printf
(
"uninstall: Failed to store updated release: %s"
,
err
)
log
.
Printf
(
"uninstall: Failed to store updated release: %s"
,
err
)
}
}
...
...
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