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
e6422997
Commit
e6422997
authored
Dec 08, 2015
by
runseb
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Small typo in logs for configurator
parent
4ea5526e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
configurator.go
resourcifier/configurator/configurator.go
+2
-2
No files found.
resourcifier/configurator/configurator.go
View file @
e6422997
...
...
@@ -162,7 +162,7 @@ func (a *Configurator) configureResource(resource *common.Resource, o operation)
cmd
.
Stderr
=
combined
if
err
:=
cmd
.
Start
();
err
!=
nil
{
e
:=
fmt
.
Errorf
(
"cannot start kube
tc
l for resource: %v: %v"
,
resource
.
Name
,
err
)
e
:=
fmt
.
Errorf
(
"cannot start kube
ct
l for resource: %v: %v"
,
resource
.
Name
,
err
)
resource
.
State
=
failState
(
e
)
return
""
,
e
}
...
...
@@ -173,7 +173,7 @@ func (a *Configurator) configureResource(resource *common.Resource, o operation)
if
o
==
DeleteOperation
&&
strings
.
HasSuffix
(
strings
.
TrimSpace
(
combined
.
String
()),
"not found"
)
{
log
.
Println
(
resource
.
Name
+
" not found, treating as success for delete"
)
}
else
{
e
:=
fmt
.
Errorf
(
"kube
tc
l failed for resource: %v: %v: %v"
,
resource
.
Name
,
err
,
combined
.
String
())
e
:=
fmt
.
Errorf
(
"kube
ct
l failed for resource: %v: %v: %v"
,
resource
.
Name
,
err
,
combined
.
String
())
resource
.
State
=
failState
(
e
)
return
combined
.
String
(),
e
}
...
...
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