Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
MKCLOS
Core Development Platform
corepkgv2
Commits
507f719b
Commit
507f719b
authored
5 years ago
by
Vivek Naik
Browse files
Options
Downloads
Patches
Plain Diff
changed default initial value of index value
parent
ca89ca29
Branches
Branches containing commit
Tags
Tags containing commit
2 merge requests
!169
Mep release 060320
,
!167
fdb fixes
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
dalmdl/corefdb/bucket_test.go
+67
-67
dalmdl/corefdb/bucket_test.go
dalmdl/corefdb/index.go
+1
-1
dalmdl/corefdb/index.go
with
68 additions
and
68 deletions
dalmdl/corefdb/bucket_test.go
+
67
−
67
View file @
507f719b
This diff is collapsed.
Click to expand it.
dalmdl/corefdb/index.go
+
1
−
1
View file @
507f719b
...
...
@@ -97,7 +97,7 @@ func (i *Index) GetEntryByPath(path string) (string, error) {
}
func
(
i
*
Index
)
AddEntry
(
path
string
,
rs
*
gjson
.
Result
)
error
{
json
:=
`{}`
json
:=
rs
.
String
()
for
_
,
indexField
:=
range
i
.
IndexFields
{
if
rs
.
Get
(
indexField
.
Query
)
.
Value
()
==
nil
{
return
errormdl
.
Wrap
(
"please provide value for index field: "
+
indexField
.
Query
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets