Skip to content
Snippets Groups Projects
Commit 3b540535 authored by ale's avatar ale
Browse files

Fix SetNodesRequest usage

parent e27752da
No related branches found
No related tags found
No related merge requests found
...@@ -112,7 +112,7 @@ func (d *replStorage) PutCert(cn string, der [][]byte, key crypto.Signer) error ...@@ -112,7 +112,7 @@ func (d *replStorage) PutCert(cn string, der [][]byte, key crypto.Signer) error
now := time.Now() now := time.Now()
var req replds.SetNodesRequest var req replds.SetNodesRequest
for path, data := range filemap { for path, data := range filemap {
req.Nodes = append(req.Nodes, replds.Node{ req.Nodes = append(req.Nodes, &replds.Node{
Path: path, Path: path,
Value: data, Value: data,
Timestamp: now, Timestamp: now,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment