Skip to content

Commit

Permalink
Fix a typo
Browse files Browse the repository at this point in the history
Signed-off-by: t-kikuc <[email protected]>
  • Loading branch information
t-kikuc committed Nov 27, 2023
1 parent 197507e commit 5e2e676
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/config/application_ecs.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (

const (
AccessTypeELB string = "ELB"
AccessTypeServiveDiscovery string = "SERVICE_DISCOVERY"
AccessTypeServiceDiscovery string = "SERVICE_DISCOVERY"
)

// ECSApplicationSpec represents an application configuration for ECS application.
Expand Down Expand Up @@ -145,7 +145,7 @@ func (opts ECSTrafficRoutingStageOptions) Percentage() (primary, canary int) {

func (in *ECSDeploymentInput) validateAccessType() error {
switch in.AccessType {
case AccessTypeELB, AccessTypeServiveDiscovery:
case AccessTypeELB, AccessTypeServiceDiscovery:
return nil
default:
return fmt.Errorf("invalid accessType: %s", in.AccessType)
Expand Down

0 comments on commit 5e2e676

Please sign in to comment.