Skip to content

Commit

Permalink
Removed unnecessary code.
Browse files Browse the repository at this point in the history
Pete DiBona committed Dec 14, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent f79e06c commit 9b01567
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions kernel/lib/runlevel/5_operation/influxdb2.go
Original file line number Diff line number Diff line change
@@ -215,22 +215,6 @@ func LoadInfluxConfig2(src map[interface{}]interface{}) (*influxConfig2, error)
return nil, errors.New("missing influx 'database' config")
}

//if value, found := src["username"]; found {
// if username, ok := value.(string); ok {
// cfg.username = username
// } else {
// return nil, errors.New("invalid influx 'username' value")
// }
//}
//
//if value, found := src["password"]; found {
// if password, ok := value.(string); ok {
// cfg.password = password
// } else {
// return nil, errors.New("invalid influx 'password' value")
// }
//}

return cfg, nil
}

0 comments on commit 9b01567

Please sign in to comment.