Skip to content

Commit 9929dd7

Browse files
fix: gofmt
Signed-off-by: Shivam Purohit <[email protected]>
1 parent c87a33c commit 9929dd7

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

pkg/apis/environment/environment.go

-1
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,6 @@ func DeleteEnvironment(pid string, envid string, cred types.Credentials) (Delete
140140
}
141141
}
142142

143-
144143
func GetChaosEnvironment(pid string, envid string, cred types.Credentials) (GetEnvironmentData, error) {
145144
var err error
146145
var gqlReq CreateEnvironmentGetGQLRequest

pkg/cmd/delete/environment.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ Note: The default location of the config file is $HOME/.litmusconfig, and can be
116116
if len(environmentGetData.InfraIDs) > 0 {
117117
utils.Red.Println("Chaos Infras present in the Chaos Environment" +
118118
", delete the Chaos Infras first to delete the Environment")
119-
os.Exit(1)
119+
os.Exit(1)
120120
}
121121

122122
// confirm before deletion

0 commit comments

Comments
 (0)