Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
erwinvaneyk committed Aug 25, 2017
1 parent f51b26d commit 86cddb8
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions cmd/workflow-engine/app/bootstrap.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,18 @@ import (
"github.com/fission/fission-workflow/pkg/apiserver"
"github.com/fission/fission-workflow/pkg/cache"
"github.com/fission/fission-workflow/pkg/controller"
"github.com/fission/fission-workflow/pkg/controller/query"
inats "github.com/fission/fission-workflow/pkg/eventstore/nats"
"github.com/fission/fission-workflow/pkg/fnenv/fission"
ip "github.com/fission/fission-workflow/pkg/projector/project/invocation"
wp "github.com/fission/fission-workflow/pkg/projector/project/workflow"
"github.com/fission/fission-workflow/pkg/scheduler"
"github.com/fission/fission-workflow/pkg/types/typedvalues"
"github.com/gorilla/handlers"
"github.com/grpc-ecosystem/grpc-gateway/runtime"
"github.com/nats-io/go-nats-streaming"
log "github.com/sirupsen/logrus"
"google.golang.org/grpc"
"github.com/fission/fission-workflow/pkg/controller/query"
"github.com/fission/fission-workflow/pkg/types/typedvalues"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion pkg/controller/query/expr.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ task().
dependency(id).
guid
*/
*/
func NewJavascriptExpressionParser(parser typedvalues.Parser) *JavascriptExpressionParser {
// TODO inject helper functions
vm := otto.New()
Expand Down
8 changes: 4 additions & 4 deletions pkg/controller/query/scope.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,10 @@ func NewScope(wf *types.Workflow, invoc *types.WorkflowInvocation) *Scope {
tasks[taskId] = &TaskScope{
ObjectMetadata: fn.Metadata,
FunctionInvocationStatus: fn.Status,
Inputs: formatTypedValueMap(fn.Spec.Inputs),
Dependencies: wf.Spec.Tasks[taskId].Dependencies,
Name: wf.Spec.Tasks[taskId].Name,
Output: out,
Inputs: formatTypedValueMap(fn.Spec.Inputs),
Dependencies: wf.Spec.Tasks[taskId].Dependencies,
Name: wf.Spec.Tasks[taskId].Name,
Output: out,
}
}

Expand Down
2 changes: 1 addition & 1 deletion pkg/types/typedvalues/reserved.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const (

func Expr(expr string) *types.TypedValue {
return &types.TypedValue{
Type: FormatType(TYPE_EXPRESSION),
Type: FormatType(TYPE_EXPRESSION),
Value: []byte(expr),
}
}
Expand Down

0 comments on commit 86cddb8

Please sign in to comment.