Skip to content

Commit

Permalink
fix sidecar extra - prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
Reecepbcups committed Aug 9, 2024
1 parent ee1fed7 commit 9b096e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chain/cosmos/sidecar.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ func NewSidecar(
// on a per validator level.
func (s *SidecarProcess) Name() string {
if s.validatorProcess {
return fmt.Sprintf("-%s-%s-val-%d-%s", s.Chain.Config().ChainID, s.ProcessName, s.Index, dockerutil.SanitizeContainerName(s.TestName))
return fmt.Sprintf("%s-%s-val-%d-%s", s.Chain.Config().ChainID, s.ProcessName, s.Index, dockerutil.SanitizeContainerName(s.TestName))
}

return fmt.Sprintf("%s-%s-%d-%s", s.Chain.Config().ChainID, s.ProcessName, s.Index, dockerutil.SanitizeContainerName(s.TestName))
Expand Down

0 comments on commit 9b096e4

Please sign in to comment.