Skip to content

Commit

Permalink
Fix Secret patch serialization bug
Browse files Browse the repository at this point in the history
  • Loading branch information
coufalja committed Jul 24, 2018
1 parent 9d2be48 commit f8dff2d
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 f8dff2d

Please sign in to comment.