fixup! Support for Librato Alerts and Services

pull/8170/head
Anthony Stanton 10 years ago
parent cb66079538
commit 2ba1c4e39a
No known key found for this signature in database
GPG Key ID: 42253AF31A97E303

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

@ -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[:])
//},
},
},
}

Loading…
Cancel
Save