fixup! Support for Librato Alerts and Services

This commit is contained in:
Anthony Stanton 2016-08-31 14:10:37 +02:00
parent cb66079538
commit 2ba1c4e39a
No known key found for this signature in database
GPG Key ID: 42253AF31A97E303
2 changed files with 0 additions and 7 deletions

View File

@ -100,7 +100,6 @@ func resourceLibratoAlert() *schema.Resource {
}, },
}, },
}, },
// TODO add missing condition attrs
}, },
} }
} }

View File

@ -1,8 +1,6 @@
package librato package librato
import ( import (
// "crypto/sha1"
// "encoding/hex"
"encoding/json" "encoding/json"
"fmt" "fmt"
"log" "log"
@ -39,10 +37,6 @@ func resourceLibratoService() *schema.Resource {
Type: schema.TypeString, Type: schema.TypeString,
Required: true, Required: true,
StateFunc: normalizeJson, StateFunc: normalizeJson,
//StateFunc: func(v interface{}) string {
// hash := sha1.Sum([]byte(v.(string)))
// return hex.EncodeToString(hash[:])
//},
}, },
}, },
} }