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
c85f9ee8
Unverified
Commit
c85f9ee8
authored
Mar 20, 2019
by
Matthew Fisher
Committed by
GitHub
Mar 20, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #5485 from tariq1890/fix_lint
style: fix golint error in init.go for redundant err!=nil check
parents
360016a5
29795691
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
init.go
cmd/helm/installer/init.go
+1
-4
No files found.
cmd/helm/installer/init.go
View file @
c85f9ee8
...
...
@@ -47,11 +47,8 @@ func Initialize(home helmpath.Home, out io.Writer, skipRefresh bool, settings he
if
err
:=
ensureDefaultRepos
(
home
,
out
,
skipRefresh
,
settings
,
stableRepositoryURL
,
localRepositoryURL
);
err
!=
nil
{
return
err
}
if
err
:=
ensureRepoFileFormat
(
home
.
RepositoryFile
(),
out
);
err
!=
nil
{
return
err
}
return
nil
return
ensureRepoFileFormat
(
home
.
RepositoryFile
(),
out
)
}
// ensureDirectories checks to see if $HELM_HOME exists.
...
...
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