diff options
author | OpenGnSys Support Team <soporte-og@soleta.eu> | 2023-12-19 19:02:31 +0100 |
---|---|---|
committer | OpenGnSys Support Team <soporte-og@soleta.eu> | 2023-12-21 11:58:48 +0100 |
commit | 3b3fc329993e110a2da89bec5a1cdbf064092fd1 (patch) | |
tree | b54aa3ba1ad11a9fe4c66581835c3bb513d4fd01 | |
parent | cdff83d0918aaeb3a7c930f59f4a9c5b99ba374e (diff) |
rest: missing POST /image/update in syslog
Update it so it shows in syslog, instead of unknown:
Dec 19 18:31:18 ogserver ogserver[1133]: 127.0.0.1:36538 POST /unknown clients=150.128.34.25
-rw-r--r-- | src/rest.c | 1 | ||||
-rw-r--r-- | src/rest.h | 1 |
2 files changed, 2 insertions, 0 deletions
@@ -6584,6 +6584,7 @@ struct { [OG_URI_REPO_DELETE] = { "repository/delete", }, [OG_URI_IMAGES] = { "images", }, [OG_URI_IMAGE_CREATE] = { "image/create" }, + [OG_URI_IMAGE_UPDATE] = { "image/update" }, [OG_URI_IMAGE_RESTORE] = { "image/restore", }, [OG_URI_IMAGE_DELETE] = { "image/delete", }, [OG_URI_PART_SETUP] = { "setup", }, @@ -113,6 +113,7 @@ enum og_rest_uri { OG_URI_REPO_DELETE, OG_URI_IMAGES, OG_URI_IMAGE_CREATE, + OG_URI_IMAGE_UPDATE, OG_URI_IMAGE_RESTORE, OG_URI_IMAGE_DELETE, OG_URI_PART_SETUP, |