Skip to content

Commit

Permalink
Remove default error value for pipedPluginServicePort
Browse files Browse the repository at this point in the history
Signed-off-by: Shinnosuke Sawada-Dazai <shin@warashi.dev>
  • Loading branch information
Warashi committed Dec 4, 2024
1 parent b66474b commit 2d1da06
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions pkg/app/pipedv1/plugin/kubernetes/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,8 @@ type server struct {
// NewServerCommand creates a new cobra command for executing api server.
func NewServerCommand() *cobra.Command {
s := &server{
apiPort: 10000,
pipedPluginServicePort: -1, // default as error value
gracePeriod: 30 * time.Second,
apiPort: 10000,
gracePeriod: 30 * time.Second,
}
cmd := &cobra.Command{
Use: "server",
Expand Down

0 comments on commit 2d1da06

Please sign in to comment.