Skip to content

Commit

Permalink
remve http method
Browse files Browse the repository at this point in the history
  • Loading branch information
miguel-crespo-fdc committed Aug 23, 2024
1 parent 130c9c2 commit 9ff93f5
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions cli/pkg/locks/env_lock_parsing.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ import (
"flag"
"fmt"
"github.com/freiheit-com/kuberpult/cli/pkg/cli_utils"
"net/http"
"strings"
)

Expand Down Expand Up @@ -81,7 +80,6 @@ func convertToCreateEnvironmentLockParams(cmdArgs CreateEnvLockCommandLineArgume
Environment: cmdArgs.environment.Values[0],
UseDexAuthentication: false, //For now there is no ambiguity as to which endpoint to use
Message: "",
HttpMethod: http.MethodPut,
}
if len(cmdArgs.message.Values) != 0 {
rp.Message = cmdArgs.message.Values[0]
Expand Down
1 change: 0 additions & 1 deletion cli/pkg/locks/lock.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ type CreateEnvironmentLockParameters struct {
Environment string
LockId string
Message string
HttpMethod string
UseDexAuthentication bool
}

Expand Down

0 comments on commit 9ff93f5

Please sign in to comment.