Things are working pretty well now
This commit is contained in:
@@ -22,9 +22,10 @@ THE SOFTWARE.
|
||||
package data
|
||||
|
||||
const (
|
||||
EnvPrefix = "EXPDS"
|
||||
KeyConfigDir = "config"
|
||||
KeyDebug = "debug"
|
||||
KeyDataDir = "data"
|
||||
KeyVimMode = "vimMode"
|
||||
EnvPrefix = "EXPDS"
|
||||
KeyConfigDir = "config"
|
||||
KeyDebug = "debug"
|
||||
KeyDataDir = "data"
|
||||
KeyVimMode = "vimMode"
|
||||
KeyRecNmInfer = "inferRecNm"
|
||||
)
|
||||
|
||||
@@ -138,7 +138,7 @@ func (p *Pds) unpack() error {
|
||||
if err != nil {
|
||||
return fmt.Errorf("error unmarshalling cbor (%s/%s): %w", sCol, sRKey, err)
|
||||
}
|
||||
p.Records[string(k)] = rec
|
||||
p.Records[sRKey] = rec
|
||||
|
||||
if !slices.Contains(p.NSIDs, col) {
|
||||
p.NSIDs = append(p.NSIDs, col)
|
||||
|
||||
Reference in New Issue
Block a user