Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions cmd/invoke.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ dapr invoke --unix-domain-socket /tmp --app-id target --method sample --verb GET
print.FailureStatusEvent(os.Stderr, "The unix-domain-socket option is not supported on Windows")
os.Exit(1)
} else {
print.WarningStatusEvent(os.Stdout, "Unix domain sockets are currently a preview feature")
print.WarningStatusEvent(os.Stderr, "Unix domain sockets are currently a preview feature")
}
}

Expand All @@ -88,7 +88,7 @@ dapr invoke --unix-domain-socket /tmp --app-id target --method sample --verb GET
if response != "" {
fmt.Println(response)
}
print.SuccessStatusEvent(os.Stdout, "App invoked successfully")
print.SuccessStatusEvent(os.Stderr, "App invoked successfully")
},
}

Expand Down
4 changes: 2 additions & 2 deletions cmd/publish.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ dapr publish --publish-app-id myapp --pubsub target --topic sample --data '{"key
print.FailureStatusEvent(os.Stderr, "The unix-domain-socket option is not supported on Windows")
os.Exit(1)
} else {
print.WarningStatusEvent(os.Stdout, "Unix domain sockets are currently a preview feature")
print.WarningStatusEvent(os.Stderr, "Unix domain sockets are currently a preview feature")
}
}

Expand All @@ -92,7 +92,7 @@ dapr publish --publish-app-id myapp --pubsub target --topic sample --data '{"key
os.Exit(1)
}

print.SuccessStatusEvent(os.Stdout, "Event published successfully")
print.SuccessStatusEvent(os.Stderr, "Event published successfully")
},
}

Expand Down
Loading