|
|
|
@ -245,7 +245,7 @@ func (l *List) UnmarshalJSON(data []byte) error {
|
|
|
|
|
continue
|
|
|
|
|
}
|
|
|
|
|
if err := json.Unmarshal(data, p); err != nil {
|
|
|
|
|
return errors.Errorf("error unmarshaling provisioner")
|
|
|
|
|
return errors.Wrap(err, "error unmarshaling provisioner")
|
|
|
|
|
}
|
|
|
|
|
*l = append(*l, p)
|
|
|
|
|
}
|
|
|
|
@ -279,9 +279,7 @@ func SanitizeSSHUserPrincipal(email string) string {
|
|
|
|
|
}, strings.ToLower(email))
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type base struct {
|
|
|
|
|
Options *ProvisionerOptions `json:"options"`
|
|
|
|
|
}
|
|
|
|
|
type base struct{}
|
|
|
|
|
|
|
|
|
|
// AuthorizeSign returns an unimplemented error. Provisioners should overwrite
|
|
|
|
|
// this method if they will support authorizing tokens for signing x509 Certificates.
|
|
|
|
|