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
91c3d314
Commit
91c3d314
authored
May 09, 2016
by
vaikas-google
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix the arguments in the call to searchCacheForPattern
parent
d50e22c7
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
search.go
cmd/helm/search.go
+1
-1
No files found.
cmd/helm/search.go
View file @
91c3d314
...
@@ -27,7 +27,7 @@ func search(cmd *cobra.Command, args []string) error {
...
@@ -27,7 +27,7 @@ func search(cmd *cobra.Command, args []string) error {
return
errors
.
New
(
"This command needs at least one argument (search string)"
)
return
errors
.
New
(
"This command needs at least one argument (search string)"
)
}
}
results
,
err
:=
searchCacheForPattern
(
args
[
0
],
cacheDirectory
()
)
results
,
err
:=
searchCacheForPattern
(
cacheDirectory
(),
args
[
0
]
)
if
err
!=
nil
{
if
err
!=
nil
{
return
err
return
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