Skip to content

Commit

Permalink
fix ineffectual assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
bsamuels453 committed Mar 29, 2024
1 parent 53b3c94 commit 48532b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/health/ethereum/artifacts.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ func CreateEthereumArtifactSerializer() healthTypes.ArtifactSerializer {
}
}

func (e artifactSerializer) AddHealthCheckResult(
func (e *artifactSerializer) AddHealthCheckResult(
result interface{},
podsUnderTest []*chaosMesh.PodUnderTest,
test types.SuiteTest,
Expand Down Expand Up @@ -42,7 +42,7 @@ func (e artifactSerializer) AddHealthCheckResult(
return nil
}

func (e artifactSerializer) SerializeArtifacts() ([]byte, error) {
func (e *artifactSerializer) SerializeArtifacts() ([]byte, error) {
bs, err := yaml.Marshal(e.artifacts)
if err != nil {
return nil, stacktrace.Propagate(err, "could not marshal test artifacts")
Expand Down

0 comments on commit 48532b3

Please sign in to comment.