6b82a529fc
Settins are generated based on a secret data Change-Id: Ib4c25e720759694432e03796ae5d1b4f2f2a1a1b
17 lines
315 B
Go
17 lines
315 B
Go
package cloudinit
|
|
|
|
import (
|
|
"fmt"
|
|
)
|
|
|
|
// ErrDataNotSupplied error returned of no user-data or network configuration
|
|
// in the Secret
|
|
type ErrDataNotSupplied struct {
|
|
DocName string
|
|
Key string
|
|
}
|
|
|
|
func (e ErrDataNotSupplied) Error() string {
|
|
return fmt.Sprintf("Document %s has no key %s", e.DocName, e.Key)
|
|
}
|