Skip to content

Commit

Permalink
Fix lints
Browse files Browse the repository at this point in the history
  • Loading branch information
vancexu committed Nov 26, 2019
1 parent e408deb commit a4eabe9
Show file tree
Hide file tree
Showing 7 changed files with 27 additions and 6 deletions.
1 change: 1 addition & 0 deletions internal/internal_worker.go
Expand Up @@ -1036,6 +1036,7 @@ func (aw *aggregatedWorker) Start() error {
var binaryChecksum string
var binaryChecksumLock sync.Mutex

// SetBinaryChecksum set binary checksum
func SetBinaryChecksum(checksum string) {
binaryChecksumLock.Lock()
defer binaryChecksumLock.Unlock()
Expand Down
Expand Up @@ -7,7 +7,7 @@
"taskId":22037765,
"workflowExecutionStartedEventAttributes":{
"workflowType":{
"name":"go.uber.org/cadence/test/replay_tests.Workflow"
"name":"go.uber.org/cadence/test/replaytests.Workflow"
},
"taskList":{
"name":"helloWorldGroup"
Expand Down
Expand Up @@ -7,7 +7,7 @@
"taskId":22020168,
"workflowExecutionStartedEventAttributes":{
"workflowType":{
"name":"go.uber.org/cadence/test/replay_tests.Workflow"
"name":"go.uber.org/cadence/test/replaytests.Workflow"
},
"taskList":{
"name":"helloWorldGroup"
Expand Down
Expand Up @@ -18,7 +18,7 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.

package replay_tests
package replaytests

import (
"testing"
Expand Down
Expand Up @@ -7,7 +7,7 @@
"taskId":22020314,
"workflowExecutionStartedEventAttributes":{
"workflowType":{
"name":"go.uber.org/cadence/test/replay_tests.Workflow2"
"name":"go.uber.org/cadence/test/replaytests.Workflow2"
},
"taskList":{
"name":"helloWorldGroup"
Expand Down
Expand Up @@ -7,7 +7,7 @@
"taskId":23069221,
"workflowExecutionStartedEventAttributes":{
"workflowType":{
"name":"go.uber.org/cadence/test/replay_tests.Workflow2"
"name":"go.uber.org/cadence/test/replaytests.Workflow2"
},
"taskList":{
"name":"helloWorldGroup"
Expand Down
22 changes: 21 additions & 1 deletion test/replay_tests/workflows.go → test/replaytests/workflows.go
@@ -1,4 +1,24 @@
package replay_tests
// Copyright (c) 2017 Uber Technologies, Inc.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.

package replaytests

import (
"context"
Expand Down

0 comments on commit a4eabe9

Please sign in to comment.