You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there anything else you would like to add?
There are some test specs that use hardcoded strings to test this function. These test specs will also need to be updated when implementing the above change.
Please tell us about your environment.
N/A.
The text was updated successfully, but these errors were encountered:
Please describe the solution you would like.
In https://github.com/vmware-tanzu/vm-operator/blob/main/pkg/util/enc.go, the
TryToDecodeBase64Gzip
function currently has aflush()
call beforeclose()
. Thisflush()
call seems unnecessary because theclose()
method will callflush()
as well, as stated in https://pkg.go.dev/compress/gzip#Writer.Close.Is there anything else you would like to add?
There are some test specs that use hardcoded strings to test this function. These test specs will also need to be updated when implementing the above change.
Please tell us about your environment.
N/A.
The text was updated successfully, but these errors were encountered: