Link to HTTPS URLs in engine comments
Updates most of the instances of HTTP urls in the engine's comments. Does not account for any use in the code itself, documentation, contrib, or project files. Signed-off-by: Eric Windisch <eric@windisch.us> Upstream-commit: ca37301d54e1525d4522dea266180072d4fd892b Component: engine
This commit is contained in:
@@ -210,7 +210,7 @@ func (env *Env) SetAuto(k string, v interface{}) {
|
||||
|
||||
// FIXME: we fix-convert float values to int, because
|
||||
// encoding/json decodes integers to float64, but cannot encode them back.
|
||||
// (See http://golang.org/src/pkg/encoding/json/decode.go#L46)
|
||||
// (See https://golang.org/src/pkg/encoding/json/decode.go#L46)
|
||||
if fval, ok := v.(float64); ok {
|
||||
env.SetInt64(k, int64(fval))
|
||||
} else if sval, ok := v.(string); ok {
|
||||
@@ -245,7 +245,7 @@ func (env *Env) Encode(dst io.Writer) error {
|
||||
if err := json.Unmarshal([]byte(v), &val); err == nil {
|
||||
// FIXME: we fix-convert float values to int, because
|
||||
// encoding/json decodes integers to float64, but cannot encode them back.
|
||||
// (See http://golang.org/src/pkg/encoding/json/decode.go#L46)
|
||||
// (See https://golang.org/src/pkg/encoding/json/decode.go#L46)
|
||||
m[k] = changeFloats(val)
|
||||
} else {
|
||||
m[k] = v
|
||||
|
||||
Reference in New Issue
Block a user