Skip to content

Commit 916934b

Browse files
committed
node-drain: fix code formatting
1 parent 05726d3 commit 916934b

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

chaoslib/litmus/node-drain/lib/node-drain.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ func uncordonNode(experimentsDetails *experimentTypes.ExperimentDetails, clients
207207
if len(targetNodes) == 0 {
208208
return errors.Errorf("No target nodes provided, expected the comma-separated names of one or more nodes")
209209
}
210-
210+
211211
for _, targetNode := range targetNodes {
212212
nodeSpec, err := clients.KubeClient.CoreV1().Nodes().Get(targetNode, v1.GetOptions{})
213213
if err != nil {

experiments/generic/node-drain/experiment/node-drain.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ func NodeDrain(clients clients.ClientSets) {
6565
//DISPLAY THE APP INFORMATION
6666
log.InfoWithValues("[Info]: The application information is as follows", logrus.Fields{
6767
"Node Label": experimentsDetails.NodeLabel,
68-
"Target Nodes": experimentsDetails.TargetNodes,
68+
"Target Nodes": experimentsDetails.TargetNodes,
6969
"Chaos Duration": experimentsDetails.ChaosDuration,
7070
})
7171

pkg/generic/node-drain/types/types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ type ExperimentDetails struct {
1818
InstanceID string
1919
ChaosNamespace string
2020
ChaosPodName string
21-
TargetNodes string
21+
TargetNodes string
2222
AuxiliaryAppInfo string
2323
Timeout int
2424
Delay int

0 commit comments

Comments
 (0)