mirror of
https://github.com/gravitl/netmaker.git
synced 2025-10-07 09:41:37 +08:00
edited chunk size
This commit is contained in:
@@ -148,7 +148,6 @@ func Insert(key string, value string, tableName string) error {
|
||||
if key != "" && value != "" && IsJSONString(value) {
|
||||
return getCurrentDB()[INSERT].(func(string, string, string) error)(key, value, tableName)
|
||||
} else {
|
||||
logger.Log(0, "invalid json detected!!")
|
||||
return errors.New("invalid insert " + key + " : " + value)
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user