Skip to content

Commit

Permalink
doc
Browse files Browse the repository at this point in the history
Signed-off-by: Yashash H L <[email protected]>
  • Loading branch information
yhl25 committed Apr 15, 2024
1 parent 0f9fa93 commit ea7f692
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion pkg/sinker/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ func defaultOptions() *options {
defaultPath := serverInfoFilePath
defaultAddress := address

if os.Getenv(EnvUDContaclinerType) == UDContainerFallbackSink {
// If the container type is fallback sink, then use the fallback sink address and path.
if os.Getenv(EnvUDContainerType) == UDContainerFallbackSink {
defaultPath = fbServerInfoFilePath
defaultAddress = fbAddress
}
Expand Down
2 changes: 1 addition & 1 deletion pkg/sinker/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const (
fbAddress = "/var/run/numaflow/fb-sink.sock"
serverInfoFilePath = "/var/run/numaflow/sinker-server-info"
fbServerInfoFilePath = "/var/run/numaflow/fb-sinker-server-info"
EnvUDContaclinerType = "NUMAFLOW_UD_CONTAINER_TYPE"
EnvUDContainerType = "NUMAFLOW_UD_CONTAINER_TYPE"
UDContainerFallbackSink = "fb-udsink"
)

Expand Down

0 comments on commit ea7f692

Please sign in to comment.