Skip to content

Commit

Permalink
Remove irrelevant code
Browse files Browse the repository at this point in the history
  • Loading branch information
AdachiAndShimamura committed Mar 21, 2024
1 parent a0d0ea9 commit 79eef69
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions libcs/client/web/api/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -182,10 +182,6 @@ func SaveConfigToFile(c *client.Client) gin.HandlerFunc {
c.Logger.Info().Str("config", fullPath).Msg("save config to file")

Reload(ctx)
if err != nil {
response.FailWithMessage(err.Error(), ctx)
return
}
response.SuccessWithMessage("save config to "+fullPath, ctx)
}
}
Expand Down

0 comments on commit 79eef69

Please sign in to comment.