Fixed linter errors in workflows

Signed-off-by: Ryan Lettieri <ryanLettieri@microsoft.com>
This commit is contained in:
Ryan Lettieri 2022-09-12 15:49:26 -06:00
parent 50473bfccf
commit a193af3abb
2 changed files with 7 additions and 5 deletions

View File

@ -18,10 +18,12 @@ import (
"testing"
"time"
"github.com/stretchr/testify/assert"
"github.com/dapr/kit/logger"
"github.com/dapr/components-contrib/tests/conformance/utils"
"github.com/dapr/components-contrib/workflows"
"github.com/dapr/kit/logger"
"github.com/stretchr/testify/assert"
)
var testLogger = logger.NewLogger("workflowsTest")

View File

@ -18,10 +18,11 @@ import (
"encoding/json"
"errors"
"github.com/dapr/components-contrib/workflows"
"github.com/dapr/kit/logger"
"go.temporal.io/api/enums/v1"
"go.temporal.io/sdk/client"
"github.com/dapr/components-contrib/workflows"
"github.com/dapr/kit/logger"
)
// Placeholder string for the task queue
@ -121,7 +122,6 @@ func (c *TemporalWF) Get(ctx context.Context, req *workflows.WorkflowReference)
}
func (c *TemporalWF) Close() {
c.client.Close()
}