Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
5dea0fda
Commit
5dea0fda
authored
Nov 18, 2016
by
bergquist
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(settings): remove nil pointer exception
parent
61bb9cbc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
pkg/setting/setting.go
+2
-2
No files found.
pkg/setting/setting.go
View file @
5dea0fda
...
...
@@ -359,12 +359,12 @@ func loadConfiguration(args *CommandLineArgs) {
configFiles
=
append
(
configFiles
,
defaultConfigFile
)
Cfg
,
err
=
ini
.
Load
(
defaultConfigFile
)
Cfg
.
BlockMode
=
false
if
err
!=
nil
{
log
.
Fatal
(
3
,
"Failed to parse defaults.ini, %v"
,
err
)
}
Cfg
.
BlockMode
=
false
// command line props
commandLineProps
:=
getCommandLineProperties
(
args
.
Args
)
// load default overrides
...
...
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