Convert SDK to the new options API (#238)

This commit is contained in:
Jeff Mitchell authored and GitHub committed 2020-08-07 12:55:02 -04:00
1 parent b5acf6afdf
commit 908a299ea3
162 files changed
+6440 -5891

No files matched your search

+3 -9
View File
@@ -1,14 +1,7 @@
package tests
import (
"testing"
"time"
"github.com/hashicorp/watchtower/api"
"github.com/hashicorp/watchtower/api/hosts"
"github.com/stretchr/testify/assert"
)
// TODO: Reenable once we reimplement generation of As functions once static hosts lands
/*
func TestDetailTemplating(t *testing.T) {
lt := time.Now()
c := hosts.HostCatalog{
@@ -32,3 +25,4 @@ func TestDetailTemplating(t *testing.T) {
Rotate: api.Bool(true),
}, ac)
}
*/