Skip to content

Commit

Permalink
fixup: ci
Browse files Browse the repository at this point in the history
  • Loading branch information
eugeneo committed Jan 15, 2025
1 parent 3ceeb05 commit bf45e2a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
2 changes: 1 addition & 1 deletion src/core/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -2117,7 +2117,7 @@ grpc_cc_library(
"absl/log:check",
"absl/log:log",
"absl/status",
"absl/strings:string_view",
"absl/strings:str_format",
],
deps = [
"iomgr_port",
Expand Down
13 changes: 5 additions & 8 deletions src/core/lib/event_engine/posix_engine/file_descriptors.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

#include "absl/log/check.h"
#include "absl/status/status.h"
#include "absl/strings/string_view.h"
#include "absl/strings/str_format.h"

namespace grpc_event_engine::experimental {

Expand All @@ -45,13 +45,10 @@ enum class OperationResultKind {

template <typename Sink>
void AbslStringify(Sink& sink, OperationResultKind kind) {
// Explicit absl::string_view here makes sure the ABSL header is used.
// Inclusion of the header is necessary for this template compiling on
// all platforms.
sink.Append(
absl::string_view(kind == OperationResultKind::kSuccess ? "(Success)"
: kind == OperationResultKind::kError ? "(Success)"
: "(Success)"));
absl::Format(sink, "%s",
kind == OperationResultKind::kSuccess ? "(Success)"
: kind == OperationResultKind::kError ? "(Success)"
: "(Success)");
}

// Result of the factory call. kWrongGeneration may happen in the call to
Expand Down

0 comments on commit bf45e2a

Please sign in to comment.