Skip to content

Commit

Permalink
astarte_types: rename base_image to base_image_info
Browse files Browse the repository at this point in the history
Make room for the actual base_image type (which will represent an uploaded base
image)

Signed-off-by: Riccardo Binetti <[email protected]>
  • Loading branch information
rbino committed Jan 20, 2023
1 parent 1aacf42 commit 50db31f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion backend/lib/edgehog_web/schema/astarte_types.ex
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ defmodule EdgehogWeb.Schema.AstarteTypes do
end

@desc "Describes an operating system's base image for a device."
object :base_image do
object :base_image_info do
@desc "The name of the image."
field :name, :string

Expand Down
2 changes: 1 addition & 1 deletion backend/lib/edgehog_web/schema/devices_types.ex
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ defmodule EdgehogWeb.Schema.DevicesTypes do
end

@desc "Information about the operating system's base image for the device."
field :base_image, :base_image do
field :base_image, :base_image_info do
resolve &Resolvers.Astarte.fetch_base_image/3
middleware Middleware.ErrorHandler
end
Expand Down

0 comments on commit 50db31f

Please sign in to comment.