Skip to content

Commit

Permalink
Merge pull request #13 from WanderaOrg/performance-improvement
Browse files Browse the repository at this point in the history
Fix Secret patch serialization bug
  • Loading branch information
coufalja authored Jul 24, 2018
2 parents 08bf646 + f8dff2d commit 0a1722e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/upload/upload.go
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ func (u *secretUploader) patchSecret(oldSecret *corev1.Secret, secrets typedcore
return err
}

patchBytes, err := strategicpatch.CreateTwoWayMergePatch(oldData, newData, corev1.ConfigMap{})
patchBytes, err := strategicpatch.CreateTwoWayMergePatch(oldData, newData, corev1.Secret{})
if err != nil {
return err
}
Expand Down

0 comments on commit 0a1722e

Please sign in to comment.