Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
Chaos Mesh
Commits
e885846a
Unverified
Commit
e885846a
authored
4 years ago
by
Gallardot
Committed by
GitHub
4 years ago
Browse files
Options
Download
Email Patches
Plain Diff
fix tiny typo (#1676)
Signed-off-by:
Gallardot
<
tttick@163.com
>
parent
ead3367b
master
WangXiangUSTC-patch-1
ci-update-check-markdown-link
dependabot/go_modules/github.com/containerd/containerd-1.4.8
dependabot/go_modules/github.com/containerd/containerd-1.5.10
dependabot/go_modules/github.com/containerd/containerd-1.5.13
dependabot/go_modules/github.com/containerd/containerd-1.5.4
dependabot/go_modules/github.com/containerd/containerd-1.5.8
dependabot/go_modules/github.com/ethereum/go-ethereum-1.10.17
dependabot/go_modules/github.com/ethereum/go-ethereum-1.10.22
dependabot/go_modules/helm.sh/helm/v3-3.9.4
dependabot/npm_and_yarn/ui/async-2.6.4
dependabot/npm_and_yarn/ui/axios-0.21.2
dependabot/npm_and_yarn/ui/hosted-git-info-2.8.9
dependabot/npm_and_yarn/ui/loader-utils-1.4.1
dependabot/npm_and_yarn/ui/minimist-1.2.6
dependabot/npm_and_yarn/ui/nanoid-3.2.0
dependabot/npm_and_yarn/ui/node-fetch-2.6.7
dependabot/npm_and_yarn/ui/path-parse-1.0.7
dependabot/npm_and_yarn/ui/tar-6.1.11
dependabot/npm_and_yarn/ui/url-parse-1.5.3
dependabot/npm_and_yarn/ui/ws-6.2.2
fix-build-env
migration-fix
nirvana
platform_dev
promote-zhiqiang-maintainer
release-2.0
release-2.1
release-2.2
release-2.3
release-2.4
release-2.5
revert-1777-shell-checks
update-company
update-maintainer-info-zhiqiang
v2.5.0
v2.5.0-beta.1
v2.5.0-beta.0
v2.5.0-alpha.1
v2.5.0-alpha.0
v2.4.3
v2.4.2
v2.4.1
v2.4.0
v2.4.0-beta.0
v2.4.0-alpha.0
v2.3.3
v2.3.2
v2.3.1
v2.3.0
v2.3.0-beta.0
v2.3.0-alpha.5
v2.3.0-alpha.4
v2.3.0-alpha.3
v2.3.0-alpha.2
v2.3.0-alpha.1
v2.3.0-alpha.0
v2.2.3
v2.2.2
v2.2.1
v2.2.0
v2.1.8
v2.1.7
v2.1.6
v2.1.5
v2.1.4
v2.1.3
v2.1.2
v2.1.1
v2.1.0
v2.0.7
v2.0.6
v2.0.5
v2.0.4
v2.0.3
v2.0.2
v2.0.1
v2.0.0
v2.0.0-beta.3
v2.0.0-beta.2
v2.0.0-beta.1
fake-release-0.2.3
chart-2.5.0
chart-2.5.0-beta.1
chart-2.5.0-beta.0
chart-2.4.3
chart-2.4.2
chart-2.4.1
chart-2.4.0
chart-2.4.0-beta.0
chart-2.4.0-alpha.0
chart-2.3.3
chart-2.3.2
chart-2.3.1
chart-2.3.0
chart-2.3.0-beta.0
chart-2.3.0-alpha.5
chart-2.3.0-alpha.4
chart-2.3.0-alpha.3
chart-2.3.0-alpha.2
chart-2.3.0-alpha.1
chart-2.3.0-alpha.0
chart-2.2.3
chart-2.2.2
chart-2.2.1
chart-2.2.0
chart-2.1.8
chart-2.1.7
chart-2.1.6
chart-2.1.5
chart-2.1.4
chart-2.1.3
chart-2.1.2
chart-2.1.1
chart-2.1.0
chart-2.0.7
chart-2.0.6
chart-2.0.5
chart-2.0.4
chart-2.0.3
chart-2.0.2
chart-2.0.1
chart-2.0.0
chart-2.0.0-beta.3
chart-2.0.0-beta.2
chart-2.0.0-beta.1
No related merge requests found
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
controllers/iochaos/types.go
+1
-1
controllers/iochaos/types.go
hack/lib.sh
+1
-1
hack/lib.sh
pkg/chaosctl/debug/networkchaos/networkchaos.go
+1
-1
pkg/chaosctl/debug/networkchaos/networkchaos.go
pkg/core/workflow.go
+1
-1
pkg/core/workflow.go
pkg/router/reconciler.go
+1
-1
pkg/router/reconciler.go
ui/src/pages/Settings/Other.tsx
+1
-1
ui/src/pages/Settings/Other.tsx
with
6 additions
and
6 deletions
+6
-6
controllers/iochaos/types.go
+
1
-
1
View file @
e885846a
...
...
@@ -112,7 +112,7 @@ func (r *endpoint) Apply(ctx context.Context, req ctrl.Request, chaos v1alpha1.I
}
iochaos
.
Finalizers
=
finalizer
.
InsertFinalizer
(
iochaos
.
Finalizers
,
key
)
}
r
.
Log
.
Info
(
"commiting updates of podiochaos"
)
r
.
Log
.
Info
(
"commit
t
ing updates of podiochaos"
)
responses
:=
m
.
Commit
(
ctx
)
iochaos
.
Status
.
Experiment
.
PodRecords
=
make
([]
v1alpha1
.
PodStatus
,
0
,
len
(
pods
))
for
_
,
keyErrorTuple
:=
range
responses
{
...
...
This diff is collapsed.
Click to expand it.
hack/lib.sh
+
1
-
1
View file @
e885846a
...
...
@@ -26,7 +26,7 @@ KUBECTL_VERSION=1.20.4
KUBECTL_BIN
=
$OUTPUT_BIN
/kubectl
HELM_BIN
=
$OUTPUT_BIN
/helm
#
# Don't u
g
prade to 2.15.x/2.16.x until this issue
# Don't up
g
rade to 2.15.x/2.16.x until this issue
# (https://github.com/helm/helm/issues/6361) has been fixed.
#
HELM_VERSION
=
3.5.3
...
...
This diff is collapsed.
Click to expand it.
pkg/chaosctl/debug/networkchaos/networkchaos.go
+
1
-
1
View file @
e885846a
...
...
@@ -119,7 +119,7 @@ func debugEachPod(ctx context.Context, pod v1.Pod, daemon v1.Pod, chaos *v1alpha
if
numCurrent
==
numExpect
{
continue
}
// alphabetic charact
o
rs
// alphabetic charact
e
rs
alpCurrent
:=
regexp
.
MustCompile
(
"[[:alpha:]]+"
)
.
FindString
(
itemCurrent
)
alpExpect
:=
regexp
.
MustCompile
(
"[[:alpha:]]+"
)
.
FindString
(
itemExpect
)
if
alpCurrent
==
alpExpect
{
...
...
This diff is collapsed.
Click to expand it.
pkg/core/workflow.go
+
1
-
1
View file @
e885846a
...
...
@@ -75,7 +75,7 @@ type NodeParallel struct {
// NodeType defines the type of a workflow node.
//
// There will be five types can be refered as NodeType: Chaos, Serial, Parallel, Suspend, Task.
// There will be five types can be refer
r
ed as NodeType: Chaos, Serial, Parallel, Suspend, Task.
//
// Const definitions can be found below this type.
type
NodeType
string
...
...
This diff is collapsed.
Click to expand it.
pkg/router/reconciler.go
+
1
-
1
View file @
e885846a
...
...
@@ -98,7 +98,7 @@ func (r *Reconciler) Reconcile(req ctrl.Request) (result ctrl.Result, err error)
reconciler
=
common
.
NewReconciler
(
req
,
controller
,
ctx
)
}
else
if
scheduler
!=
nil
{
// scheduler != nil && duration != nil
// but PodKill is an ex
pec
tion
// but PodKill is an ex
cep
tion
reconciler
=
twophase
.
NewReconciler
(
req
,
controller
,
ctx
)
}
else
{
err
:=
errors
.
Errorf
(
"both scheduler and duration should be nil or not nil"
)
...
...
This diff is collapsed.
Click to expand it.
ui/src/pages/Settings/Other.tsx
+
1
-
1
View file @
e885846a
...
...
@@ -38,7 +38,7 @@ const Other = () => {
</
TextField
>
</
Box
>
{
/* Lang
a
uge */
}
{
/* Langu
a
ge */
}
<
Box
mb
=
{
3
}
>
<
TextField
variant
=
"outlined"
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help