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
cde038b9
Commit
cde038b9
authored
Jul 26, 2017
by
Nick Sardo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Wrap gce.conf parse with FatalOnly error filter
parent
99ff40a1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
gce.go
pkg/cloudprovider/providers/gce/gce.go
+1
-1
No files found.
pkg/cloudprovider/providers/gce/gce.go
View file @
cde038b9
...
@@ -199,7 +199,7 @@ func newGCECloud(config io.Reader) (*GCECloud, error) {
...
@@ -199,7 +199,7 @@ func newGCECloud(config io.Reader) (*GCECloud, error) {
var
nodeInstancePrefix
string
var
nodeInstancePrefix
string
if
config
!=
nil
{
if
config
!=
nil
{
var
cfg
Config
var
cfg
Config
if
err
:=
gcfg
.
ReadInto
(
&
cfg
,
config
);
err
!=
nil
{
if
err
:=
gcfg
.
FatalOnly
(
gcfg
.
ReadInto
(
&
cfg
,
config
)
);
err
!=
nil
{
glog
.
Errorf
(
"Couldn't read config: %v"
,
err
)
glog
.
Errorf
(
"Couldn't read config: %v"
,
err
)
return
nil
,
err
return
nil
,
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