Skip to content

Commit

Permalink
Fix ProcessTags step
Browse files Browse the repository at this point in the history
  • Loading branch information
benpate committed Jan 2, 2025
1 parent 0e1e584 commit e3208b7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions build/step_ProcessTags.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ func (step StepProcessTags) Post(builder Builder, buffer io.Writer) PipelineBeha

switch typed := builder.(type) {

case Stream:
case *Stream:
stream := typed._stream
streamService := builder.factory().Stream()
streamService.CalculateTags(stream, step.Paths...)
Expand All @@ -34,7 +34,6 @@ func (step StepProcessTags) Post(builder Builder, buffer io.Writer) PipelineBeha
userService := builder.factory().User()
userService.CalculateTags(user, step.Paths...)
return Continue()

}

return Halt().WithError(derp.NewInternalError(location, "This step can only be used in a Stream or User builder"))
Expand Down

0 comments on commit e3208b7

Please sign in to comment.