Skip to content

Conversation

@thaJeztah
Copy link
Collaborator

ImageService: rename GraphDriverName to StorageDriver

Make the function name more generic, as it's no longer used only for graphdrivers but also for snapshotters.

daemon: info: fillDriverInfo() get driver-name from ImageService

Make the ImageService the source of truth for the storage-driver that's used.

daemon: remove daemon.graphdriver

It was only used as an intermediate variable to store what's returned
by layerstore.DriverName() / ImageService.StorageDriver()

- Description for the changelog

- A picture of a cute animal (not mandatory but encouraged)

@thaJeztah
Copy link
Collaborator Author

Opening as draft until the rename changes are accepted in upstream

@thaJeztah thaJeztah force-pushed the daemon_remove_graphdriver_field_rumpl branch from 8a662ca to 176a073 Compare August 18, 2022 11:22
Make the function name more generic, as it's no longer used only
for graphdrivers but also for snapshotters.

Signed-off-by: Sebastiaan van Stijn <[email protected]>
Make the ImageService the source of truth for the storage-driver
that's used.

Signed-off-by: Sebastiaan van Stijn <[email protected]>
Make the ImageService the source of truth for the storage-driver
that's used.

Signed-off-by: Sebastiaan van Stijn <[email protected]>
Make the ImageService the source of truth for the storage-driver
that's used.

Signed-off-by: Sebastiaan van Stijn <[email protected]>
Make the ImageService the source of truth for the storage-driver
that's used.

Signed-off-by: Sebastiaan van Stijn <[email protected]>
It was only used as an intermediate variable to store what's returned
by layerstore.DriverName() / ImageService.GraphDriverName()

Signed-off-by: Sebastiaan van Stijn <[email protected]>
@thaJeztah thaJeztah marked this pull request as ready for review August 19, 2022 22:04
@thaJeztah thaJeztah force-pushed the daemon_remove_graphdriver_field_rumpl branch from 176a073 to 9abf944 Compare August 19, 2022 22:04
@thaJeztah
Copy link
Collaborator Author

Rebased, and moved out of draft, because upstream was merged

@thaJeztah
Copy link
Collaborator Author

whoop; still green. This is ready for review; @rumpl @vvoland ptal

@thaJeztah thaJeztah merged commit 3183019 into rumpl:c8d Aug 22, 2022
@thaJeztah thaJeztah deleted the daemon_remove_graphdriver_field_rumpl branch August 22, 2022 09:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants