Remove debug logging

pull/107/head
max furman 5 years ago
parent a7dd2a3ff3
commit 44e864030d

@ -154,7 +154,6 @@ func (c *Collection) LoadEncryptedKey(keyID string) (string, bool) {
// Store adds a provisioner to the collection and enforces the uniqueness of
// provisioner IDs.
func (c *Collection) Store(p Interface) error {
fmt.Printf("p.GetID() = %+v\n", p.GetID())
// Store provisioner always in byID. ID must be unique.
if _, loaded := c.byID.LoadOrStore(p.GetID(), p); loaded {
return errors.New("cannot add multiple provisioners with the same id")

Loading…
Cancel
Save