Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
vitalyisaev2 authored Aug 9, 2024
1 parent 9f80aaf commit cb0bb8d
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions ydb/core/fq/libs/cloud_audit/yq_cloud_audit_service.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,11 @@ std::string MapConnectionType(const FederatedQuery::ConnectionSetting::Connectio
return "Monitoring";
case FederatedQuery::ConnectionSetting::ConnectionCase::kPostgresqlCluster:
return "PostgreSQLCluster";
default:
case FederatedQuery::ConnectionSetting::ConnectionCase::kGreenplumCluster:
return "GreenplumCluster";
case FederatedQuery::ConnectionSetting::ConnectionCase::kMysqlCluster:
return "MySQLCluster";
case FederatedQuery::ConnectionSetting::ConnectionCase::CONNECTION_NOT_SET:
Y_ENSURE(false, "Invalid connection case " << i32(connectionCase));
}
}
Expand All @@ -76,8 +80,8 @@ std::string MapBindingType(const FederatedQuery::BindingSetting::BindingCase& bi
return "YdbDataStreams";
case FederatedQuery::BindingSetting::BindingSetting::kObjectStorage:
return "ObjectStorage";
default:
Y_ENSURE(false, "Invalid connection case " << i32(bindingCase));
case FederatedQuery::BindingSetting::BindingSetting::BINDING_NOT_SET:
Y_ENSURE(false, "Invalid binding case " << i32(bindingCase));
}
}

Expand Down

0 comments on commit cb0bb8d

Please sign in to comment.