diff options
| author | Shulhan <m.shulhan@gmail.com> | 2020-09-04 02:04:33 +0700 |
|---|---|---|
| committer | Shulhan <m.shulhan@gmail.com> | 2020-09-04 02:04:33 +0700 |
| commit | a2c65037d1873fccc8d3efcc70f550429cc5d204 (patch) | |
| tree | 847e8b21b48cfcec39ff67aca49e79abfdcd9857 | |
| parent | 24e61b633edb2ea7b6c67319f4ff4b2a4c366e9b (diff) | |
| download | rescached-a2c65037d1873fccc8d3efcc70f550429cc5d204.tar.xz | |
httpd: fix error return value when handling delete RR
| -rw-r--r-- | httpd.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -724,7 +724,7 @@ func (srv *Server) apiMasterFileDeleteRR( if len(rr.Name) == 0 { res.Message = "invalid or empty ResourceRecord.Name" - return nil, err + return nil, res } // Remove the RR from caches. |
