From c90418477443f9ef16e4c14b89b72b2814462787 Mon Sep 17 00:00:00 2001 From: Anthony Stanton Date: Wed, 31 Aug 2016 14:10:37 +0200 Subject: [PATCH] fixup! Support for Librato Alerts and Services --- resource_librato_alert.go | 1 - resource_librato_service.go | 6 ------ 2 files changed, 7 deletions(-) diff --git a/resource_librato_alert.go b/resource_librato_alert.go index 2d08be1..0ee5517 100644 --- a/resource_librato_alert.go +++ b/resource_librato_alert.go @@ -100,7 +100,6 @@ func resourceLibratoAlert() *schema.Resource { }, }, }, - // TODO add missing condition attrs }, } } diff --git a/resource_librato_service.go b/resource_librato_service.go index 9db8fc4..c012b63 100644 --- a/resource_librato_service.go +++ b/resource_librato_service.go @@ -1,8 +1,6 @@ package librato import ( - // "crypto/sha1" - // "encoding/hex" "encoding/json" "fmt" "log" @@ -39,10 +37,6 @@ func resourceLibratoService() *schema.Resource { Type: schema.TypeString, Required: true, StateFunc: normalizeJson, - //StateFunc: func(v interface{}) string { - // hash := sha1.Sum([]byte(v.(string))) - // return hex.EncodeToString(hash[:]) - //}, }, }, }