Adds a comment for the txnKVS() function.

This commit is contained in:
James Phillips 2016-05-12 16:11:26 -07:00
parent 8a7428e508
commit 9443c6ba71
1 changed files with 1 additions and 0 deletions

View File

@ -7,6 +7,7 @@ import (
"github.com/hashicorp/go-memdb" "github.com/hashicorp/go-memdb"
) )
// txnKVS handles all KV-related operations.
func (s *StateStore) txnKVS(tx *memdb.Txn, idx uint64, op *structs.TxnKVOp) (structs.TxnKVResult, error) { func (s *StateStore) txnKVS(tx *memdb.Txn, idx uint64, op *structs.TxnKVOp) (structs.TxnKVResult, error) {
var entry *structs.DirEntry var entry *structs.DirEntry
var err error var err error