Skip to content

Commit

Permalink
fix: admin login property on k8s target was wrong type (#249)
Browse files Browse the repository at this point in the history
  • Loading branch information
benPearce1 authored Jun 27, 2023
1 parent dd51960 commit fbe8e18
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ go 1.19
require (
github.com/AlecAivazis/survey/v2 v2.3.6
github.com/MakeNowJust/heredoc/v2 v2.0.1
github.com/OctopusDeploy/go-octopusdeploy/v2 v2.26.0
github.com/OctopusDeploy/go-octopusdeploy/v2 v2.28.0
github.com/bmatcuk/doublestar/v4 v4.4.0
github.com/briandowns/spinner v1.19.0
github.com/google/uuid v1.3.0
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ github.com/MakeNowJust/heredoc/v2 v2.0.1 h1:rlCHh70XXXv7toz95ajQWOWQnN4WNLt0TdpZ
github.com/MakeNowJust/heredoc/v2 v2.0.1/go.mod h1:6/2Abh5s+hc3g9nbWLe9ObDIOhaRrqsyY9MWy+4JdRM=
github.com/Netflix/go-expect v0.0.0-20220104043353-73e0943537d2 h1:+vx7roKuyA63nhn5WAunQHLTznkw5W8b1Xc0dNjp83s=
github.com/Netflix/go-expect v0.0.0-20220104043353-73e0943537d2/go.mod h1:HBCaDeC1lPdgDeDbhX8XFpy1jqjK0IBG8W5K+xYqA0w=
github.com/OctopusDeploy/go-octopusdeploy/v2 v2.26.0 h1:+8iObIQRmmFDq2oWphqKHo078uwrXcsN/xtz6A/XvHg=
github.com/OctopusDeploy/go-octopusdeploy/v2 v2.26.0/go.mod h1:GZmFu6LmN8Yg0tEoZx3ytk9FnaH+84cWm7u5TdWZC6E=
github.com/OctopusDeploy/go-octopusdeploy/v2 v2.28.0 h1:7BegZkhNkY6MKgOf0ekNgsRNlvE4lBdzy84zVG+c1+0=
github.com/OctopusDeploy/go-octopusdeploy/v2 v2.28.0/go.mod h1:GZmFu6LmN8Yg0tEoZx3ytk9FnaH+84cWm7u5TdWZC6E=
github.com/bmatcuk/doublestar/v4 v4.4.0 h1:LmAwNwhjEbYtyVLzjcP/XeVw4nhuScHGkF/XWXnvIic=
github.com/bmatcuk/doublestar/v4 v4.4.0/go.mod h1:xBQ8jztBU6kakFMg+8WGxn0c6z1fTSPVIjEY1Wr7jzc=
github.com/briandowns/spinner v1.19.0 h1:s8aq38H+Qju89yhp89b4iIiMzMm8YN3p6vGpwyh/a8E=
Expand Down
2 changes: 1 addition & 1 deletion pkg/cmd/target/kubernetes/create/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ func (opts *CreateOptions) Commit() error {
auth.AccountID = accountID
auth.ClusterName = opts.AKSClusterName.Value
auth.ClusterResourceGroup = opts.AKSResourceGroupName.Value
auth.AdminLogin = opts.UseAdminCredentials.Value
auth.AdminLogin = strconv.FormatBool(opts.UseAdminCredentials.Value)
endpoint.Authentication = auth
}

Expand Down

0 comments on commit fbe8e18

Please sign in to comment.