Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
f3d0d147
Commit
f3d0d147
authored
Jul 06, 2016
by
k8s-merge-robot
Committed by
GitHub
Jul 06, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #28305 from jlowdermilk/kubectl-convert-noise
Automatic merge from submit-queue kubectl convert --local prints info message to stderr fix #28298
parents
0c696dc9
67cfd343
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
convert.go
pkg/kubectl/cmd/convert.go
+2
-1
No files found.
pkg/kubectl/cmd/convert.go
View file @
f3d0d147
...
@@ -19,6 +19,7 @@ package cmd
...
@@ -19,6 +19,7 @@ package cmd
import
(
import
(
"fmt"
"fmt"
"io"
"io"
"os"
"github.com/renstrom/dedent"
"github.com/renstrom/dedent"
...
@@ -118,7 +119,7 @@ func (o *ConvertOptions) Complete(f *cmdutil.Factory, out io.Writer, cmd *cobra.
...
@@ -118,7 +119,7 @@ func (o *ConvertOptions) Complete(f *cmdutil.Factory, out io.Writer, cmd *cobra.
clientMapper
:=
resource
.
ClientMapperFunc
(
f
.
ClientForMapping
)
clientMapper
:=
resource
.
ClientMapperFunc
(
f
.
ClientForMapping
)
if
o
.
local
{
if
o
.
local
{
fmt
.
Fprintln
(
o
ut
,
"running in local mode..."
)
fmt
.
Fprintln
(
o
s
.
Stderr
,
"running in local mode..."
)
o
.
builder
=
resource
.
NewBuilder
(
mapper
,
typer
,
resource
.
DisabledClientForMapping
{
ClientMapper
:
clientMapper
},
f
.
Decoder
(
true
))
o
.
builder
=
resource
.
NewBuilder
(
mapper
,
typer
,
resource
.
DisabledClientForMapping
{
ClientMapper
:
clientMapper
},
f
.
Decoder
(
true
))
}
else
{
}
else
{
o
.
builder
=
resource
.
NewBuilder
(
mapper
,
typer
,
clientMapper
,
f
.
Decoder
(
true
))
o
.
builder
=
resource
.
NewBuilder
(
mapper
,
typer
,
clientMapper
,
f
.
Decoder
(
true
))
...
...
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