Skip to content

Commit

Permalink
fix(sdl): remove check if expose is global when building
Browse files Browse the repository at this point in the history
Signed-off-by: Artur Troian <troian.ap@gmail.com>
  • Loading branch information
troian committed Aug 8, 2023
1 parent 29e52f5 commit 85750f2
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions sdl/expose.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,6 @@ func (sdl v2Expose) toManifestExposes(endpointNames map[string]uint32) (manifest

if len(sdl.To) > 0 {
for _, to := range sdl.To {
if !to.Global {
continue
}

// This value is created just so it can be passed to the utility function
expose := manifest.ServiceExpose{
Service: to.Service,
Expand Down

0 comments on commit 85750f2

Please sign in to comment.