Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Z
zombienet-sdk
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
parity
Mirrored projects
zombienet-sdk
Commits
9378197f
Unverified
Commit
9378197f
authored
1 year ago
by
Tsvetomir Dimitrov
Committed by
GitHub
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
Fix some typos (#148)
parent
1c9f14ae
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
crates/orchestrator/src/network/node.rs
+7
-7
7 additions, 7 deletions
crates/orchestrator/src/network/node.rs
with
7 additions
and
7 deletions
crates/orchestrator/src/network/node.rs
+
7
−
7
View file @
9378197f
...
...
@@ -50,7 +50,7 @@ impl NetworkNode {
}
/// Pause the node, this is implemented by pausing the
/// actual process (e.g polkadot) with sendig `SIGSTOP` signal
/// actual process (e.g polkadot) with sendi
n
g `SIGSTOP` signal
pub
async
fn
pause
(
&
self
)
->
Result
<
(),
anyhow
::
Error
>
{
self
.inner
.pause
()
.await
?
;
Ok
(())
...
...
@@ -70,9 +70,9 @@ impl NetworkNode {
/// Execute js/ts code inside [pjs_rs] custom runtime.
///
/// The code will be run in a wrapper simila
t
to the `javascript` developer tab
/// The code will be run in a wrapper simila
r
to the `javascript` developer tab
/// of polkadot.js apps. The returning value is represented as [PjsResult] enum, to allow
/// to communicate that the execution was succeful but the returning value can be deserialized as [serde_json::Value].
/// to communicate that the execution was succe
ss
ful but the returning value can be deserialized as [serde_json::Value].
pub
async
fn
pjs
(
&
self
,
code
:
impl
AsRef
<
str
>
,
...
...
@@ -92,9 +92,9 @@ impl NetworkNode {
/// Execute js/ts file inside [pjs_rs] custom runtime.
///
/// The content of the file will be run in a wrapper simila
t
to the `javascript` developer tab
/// The content of the file will be run in a wrapper simila
r
to the `javascript` developer tab
/// of polkadot.js apps. The returning value is represented as [PjsResult] enum, to allow
/// to communicate that the execution was succeful but the returning value can be deserialized as [serde_json::Value].
/// to communicate that the execution was succe
ss
ful but the returning value can be deserialized as [serde_json::Value].
pub
async
fn
pjs_file
(
&
self
,
file
:
impl
AsRef
<
Path
>
,
...
...
@@ -114,7 +114,7 @@ impl NetworkNode {
}
/// Resume the node, this is implemented by resuming the
/// actual process (e.g polkadot) with sendig `SIGCONT` signal
/// actual process (e.g polkadot) with sendi
n
g `SIGCONT` signal
pub
async
fn
resume
(
&
self
)
->
Result
<
(),
anyhow
::
Error
>
{
self
.inner
.resume
()
.await
?
;
Ok
(())
...
...
@@ -157,7 +157,7 @@ impl NetworkNode {
if
val
==
value
{
Ok
(
true
)
}
else
{
// reload metr
c
is
// reload metri
c
s
self
.fetch_metrics
()
.await
?
;
let
val
=
self
.metric
(
&
metric_name
)
.await
?
;
Ok
(
val
==
value
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment