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