forked from TrueCloudLab/certificates
Remove debug logging
This commit is contained in:
parent
a7dd2a3ff3
commit
44e864030d
1 changed files with 0 additions and 1 deletions
|
@ -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…
Reference in a new issue