mirror of
https://github.com/outbackdingo/certificates.git
synced 2026-01-27 10:18:34 +00:00
Remove debug logging
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user