Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
D
dex
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
dex
Commits
6cb38604
Commit
6cb38604
authored
Mar 15, 2017
by
Eric Chiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
storage/kubernetes: log INFO level if TPR already exists, not ERROR
parent
d31bb1c8
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
storage.go
storage/kubernetes/storage.go
+1
-1
No files found.
storage/kubernetes/storage.go
View file @
6cb38604
...
@@ -127,7 +127,7 @@ func (cli *client) createThirdPartyResources() (ok bool) {
...
@@ -127,7 +127,7 @@ func (cli *client) createThirdPartyResources() (ok bool) {
if
err
!=
nil
{
if
err
!=
nil
{
switch
err
{
switch
err
{
case
storage
.
ErrAlreadyExists
:
case
storage
.
ErrAlreadyExists
:
cli
.
logger
.
Error
f
(
"third party resource already created %s"
,
r
.
ObjectMeta
.
Name
)
cli
.
logger
.
Info
f
(
"third party resource already created %s"
,
r
.
ObjectMeta
.
Name
)
case
storage
.
ErrNotFound
:
case
storage
.
ErrNotFound
:
cli
.
logger
.
Errorf
(
"third party resources not found, please enable API group extensions/v1beta1"
)
cli
.
logger
.
Errorf
(
"third party resources not found, please enable API group extensions/v1beta1"
)
ok
=
false
ok
=
false
...
...
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