mirror of
https://github.com/usual2970/certimate.git
synced 2025-10-05 22:14:53 +00:00
feat: rename input
to inputs
, output
to outputs
This commit is contained in:
@@ -32,12 +32,12 @@ type Workflow struct {
|
||||
}
|
||||
|
||||
type WorkflowNode struct {
|
||||
Id string `json:"id"`
|
||||
Name string `json:"name"`
|
||||
Next *WorkflowNode `json:"next"`
|
||||
Config map[string]any `json:"config"`
|
||||
Input []WorkflowNodeIO `json:"input"`
|
||||
Output []WorkflowNodeIO `json:"output"`
|
||||
Id string `json:"id"`
|
||||
Name string `json:"name"`
|
||||
Next *WorkflowNode `json:"next"`
|
||||
Config map[string]any `json:"config"`
|
||||
Inputs []WorkflowNodeIO `json:"inputs"`
|
||||
Outputs []WorkflowNodeIO `json:"outputs"`
|
||||
|
||||
Validated bool `json:"validated"`
|
||||
Type string `json:"type"`
|
||||
|
@@ -88,7 +88,7 @@ func (a *applyNode) Run(ctx context.Context) error {
|
||||
NodeId: a.node.Id,
|
||||
Node: a.node,
|
||||
Succeeded: true,
|
||||
Outputs: a.node.Output,
|
||||
Outputs: a.node.Outputs,
|
||||
}
|
||||
|
||||
certX509, err := x509.ParseCertificateFromPEM(certificate.Certificate)
|
||||
|
Reference in New Issue
Block a user