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
75804c35
Commit
75804c35
authored
Jul 24, 2018
by
QuaSoft
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove warning for deprecated flag usage as pflag already does that
parent
888119a4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
1 deletion
+0
-1
exec.go
pkg/kubectl/cmd/exec.go
+0
-1
No files found.
pkg/kubectl/cmd/exec.go
View file @
75804c35
...
@@ -154,7 +154,6 @@ func (p *ExecOptions) Complete(f cmdutil.Factory, cmd *cobra.Command, argsIn []s
...
@@ -154,7 +154,6 @@ func (p *ExecOptions) Complete(f cmdutil.Factory, cmd *cobra.Command, argsIn []s
return
cmdutil
.
UsageErrorf
(
cmd
,
execUsageStr
)
return
cmdutil
.
UsageErrorf
(
cmd
,
execUsageStr
)
}
}
if
len
(
p
.
PodName
)
!=
0
{
if
len
(
p
.
PodName
)
!=
0
{
printDeprecationWarning
(
p
.
ErrOut
,
"exec POD_NAME"
,
"-p POD_NAME"
)
if
len
(
argsIn
)
<
1
{
if
len
(
argsIn
)
<
1
{
return
cmdutil
.
UsageErrorf
(
cmd
,
execUsageStr
)
return
cmdutil
.
UsageErrorf
(
cmd
,
execUsageStr
)
}
}
...
...
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