Skip to content

Commit

Permalink
[prism] Tiny lint fixes (apache#25564)
Browse files Browse the repository at this point in the history
* Doc commment typo.

* [prism] tiny lint fixes
  • Loading branch information
lostluck authored and ruslan-ikhsan committed Mar 10, 2023
1 parent 43340f4 commit 54c720c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ func TestHandlerRegistry(t *testing.T) {

type spotCheck struct {
v, h string
want interface{}
want any
}
tests := []struct {
name string
Expand Down
2 changes: 1 addition & 1 deletion sdks/go/pkg/beam/runners/prism/internal/urns/urns.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

// Package urn handles extracting urns from all the protos.
// Package urns handles extracting urns from all the protos.
package urns

import (
Expand Down
2 changes: 1 addition & 1 deletion sdks/go/test/integration/primitives/checkpointing.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ func (fn *selfCheckpointingDoFn) CreateInitialRestriction(_ []byte) offsetrange.
}
}

// CreateTracker wraps the fiven restriction into a LockRTracker type.
// CreateTracker wraps the given restriction into a LockRTracker type.
func (fn *selfCheckpointingDoFn) CreateTracker(rest offsetrange.Restriction) *sdf.LockRTracker {
return sdf.NewLockRTracker(offsetrange.NewTracker(rest))
}
Expand Down

0 comments on commit 54c720c

Please sign in to comment.