File tree Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,6 @@ package devops
55
66import (
77 "context"
8- b64 "encoding/base64"
98 "fmt"
109 "log"
1110 "strings"
@@ -733,7 +732,7 @@ func DeployArtifactSourceToMap(obj *oci_devops.DeployArtifactSource) map[string]
733732
734733 if v .Base64EncodedContent != nil {
735734 contentReader := v .Base64EncodedContent
736- result ["base64encoded_content" ] = DevopsDeployArtifactBase64Decode (contentReader )
735+ result ["base64encoded_content" ] = string (contentReader )
737736 }
738737 case oci_devops.OcirDeployArtifactSource :
739738 result ["deploy_artifact_source_type" ] = "OCIR"
@@ -881,8 +880,3 @@ func VerificationKeySourceToMap(obj *oci_devops.VerificationKeySource) map[strin
881880
882881 return result
883882}
884-
885- func DevopsDeployArtifactBase64Decode (content []byte ) string {
886- text := b64 .StdEncoding .EncodeToString (content )
887- return text
888- }
You can’t perform that action at this time.
0 commit comments