Skip to content

Commit

Permalink
Remove commented-out JSON marshaling code from GetStageConfigByte met…
Browse files Browse the repository at this point in the history
…hod (#5589)

Signed-off-by: Shinnosuke Sawada-Dazai <[email protected]>
  • Loading branch information
Warashi authored Feb 19, 2025
1 parent 75dedd4 commit 3b4f988
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions pkg/configv1/application.go
Original file line number Diff line number Diff line change
Expand Up @@ -184,11 +184,6 @@ func (s GenericApplicationSpec) GetStageConfigByte(index int32) ([]byte, bool) {
}

return []byte(stage.With), true
// b, err := json.Marshal(stage)
// if err != nil {
// return nil, false
// }
// return b, true
}

// HasStage checks if the given stage is included in the pipeline.
Expand Down

0 comments on commit 3b4f988

Please sign in to comment.