Skip to content

Commit 7ef0e4d

Browse files
authored
fix munew line are not rendered correclty when multiple params are given (#2891)
Committed-by: siyuanzhang.zsy from Dev container
1 parent fbf40f6 commit 7ef0e4d

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

analytical_engine/core/grape_instance.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ bl::result<rpc::graph::GraphDefPb> GrapeInstance::projectToSimple(
287287
return graph_def;
288288
}
289289
VY_OK_OR_RAISE(client_->Persist(vy_info.vineyard_id()));
290-
// contruct fragment group
290+
// construct fragment group
291291
BOOST_LEAF_AUTO(frag_group_id,
292292
vineyard::ConstructFragmentGroup(
293293
*client_, vy_info.vineyard_id(), comm_spec_));

interactive_engine/assembly/src/bin/graphscope/giectl

+2-2
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ start_frontend() {
119119
-e "s@THREADS_PER_WORKER@${threads_per_worker}@g" \
120120
${GRAPHSCOPE_HOME}/conf/frontend.vineyard.properties > ${config_dir}/frontend.vineyard.properties
121121
echo -e "\n" >> ${config_dir}/frontend.vineyard.properties
122-
echo $decoded_params >> ${config_dir}/frontend.vineyard.properties
122+
echo -e "$decoded_params" >> ${config_dir}/frontend.vineyard.properties
123123

124124
# frontend service hold a handle client of coordinator
125125
java ${java_opt} \
@@ -178,7 +178,7 @@ start_executor() {
178178
-e "s@THREADS_PER_WORKER@${threads_per_worker}@g" \
179179
${GRAPHSCOPE_HOME}/conf/executor.vineyard.properties > ${config_dir}/executor.$server_id.vineyard.properties
180180
echo -e "\n" >> ${config_dir}/executor.$server_id.vineyard.properties
181-
echo $decoded_params >> ${config_dir}/executor.$server_id.vineyard.properties
181+
echo "$decoded_params" >> ${config_dir}/executor.$server_id.vineyard.properties
182182

183183
cp ${GRAPHSCOPE_HOME}/conf/log4rs.yml ${config_dir}/log4rs.yml
184184

python/graphscope/interactive/query.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ def execute(self, query, request_options=None):
135135
"""Execute gremlin querying scripts.
136136
137137
Args:
138-
query (str): Scripts that written in gremlin quering language.
138+
query (str): Scripts that written in gremlin query language.
139139
request_options (dict, optional): Gremlin request options. format:
140140
{
141141
"engine": "gae"
@@ -154,7 +154,7 @@ def submit(self, query, request_options=None):
154154
def subgraph(self, gremlin_script, request_options=None):
155155
"""Create a subgraph, which input is the result of the execution of `gremlin_script`.
156156
157-
Any gremlin script that output a set of edges can be used to contruct a subgraph.
157+
Any gremlin script that output a set of edges can be used to construct a subgraph.
158158
159159
Args:
160160
gremlin_script (str): Gremlin script to be executed.

0 commit comments

Comments
 (0)