Skip to content

Commit

Permalink
fix: remove base64 encoding of zerops yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
l-hellmann committed Mar 13, 2024
1 parent f51d936 commit c73afb7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions src/cmd/serviceDeploy.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package cmd

import (
"context"
"encoding/base64"
"io"
"time"

Expand Down Expand Up @@ -137,7 +136,7 @@ func serviceDeployCmd() *cmdBuilder.Cmd {
Id: appVersion.Id,
},
body.PutAppVersionDeploy{
ZeropsYaml: types.NewMediumTextNull(base64.StdEncoding.EncodeToString(configContent)),
ZeropsYaml: types.NewMediumTextNull(string(configContent)),
},
)
if err != nil {
Expand Down
3 changes: 1 addition & 2 deletions src/cmd/servicePush.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package cmd

import (
"context"
"encoding/base64"
"io"
"time"

Expand Down Expand Up @@ -143,7 +142,7 @@ func servicePushCmd() *cmdBuilder.Cmd {
Id: appVersion.Id,
},
body.PutAppVersionBuildAndDeploy{
ZeropsYaml: types.MediumText(base64.StdEncoding.EncodeToString(configContent)),
ZeropsYaml: types.MediumText(configContent),
Source: types.NewStringNull(sourceName),
},
)
Expand Down

0 comments on commit c73afb7

Please sign in to comment.