Started moving to a chainDB for tracking history.

This commit is contained in:
James Wells 2021-12-02 05:44:53 -08:00
parent 749bd6557e
commit 458214aaa9
Signed by: jwells
GPG key ID: 73196D10B8E65666
6 changed files with 31 additions and 18 deletions

View file

@ -28,6 +28,13 @@ func Main(wg *sync.WaitGroup, config gs.GagentConfig) {
clientBlock1 := rootBody.AppendNewBlock("client", []string{config.Name})
clientBody1 := clientBlock1.Body()
// clientBody1.AppendUnstructuredTokens(
// hclwrite.TokensForTraversal(hcl.Traversal{
// hcl.TraverseRoot{
// Name: hcl.CommentGenerator("comment"),
// },
// },
// ))
clientBody1.SetAttributeValue("clientid", cty.StringVal(config.UUID))
rootBody.AppendNewline()