mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +00:00
misc: added return statements
This commit is contained in:
@@ -70,11 +70,13 @@ var bootstrapCmd = &cobra.Command{
|
|||||||
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Error().Msgf("Failed to bootstrap instance: %v", err)
|
log.Error().Msgf("Failed to bootstrap instance: %v", err)
|
||||||
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
responseJSON, err := json.MarshalIndent(bootstrapResponse, "", " ")
|
responseJSON, err := json.MarshalIndent(bootstrapResponse, "", " ")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Fatal().Msgf("Failed to convert response to JSON: %v", err)
|
log.Fatal().Msgf("Failed to convert response to JSON: %v", err)
|
||||||
|
return
|
||||||
}
|
}
|
||||||
fmt.Println(string(responseJSON))
|
fmt.Println(string(responseJSON))
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user