Skip to content

Conversation

@tazarov
Copy link

@tazarov tazarov commented Sep 23, 2023

  • Added support for persistent disk in the WebServiceDetails as it is supported by Render API
  • Added an example service with disk support in README.md
  • Fixed a typo in the flask example's env type

image

- Fixed an issue with deleting ServiceEnvironmentResource where API returns 200 but code expects 201
- Added conditional populate of disk struct
- Added `disk` to schema
@tazarov
Copy link
Author

tazarov commented Sep 25, 2023

@jackall3n, I tested the changes locally, and everything seems to be working.

- Added support for EnvVar in ServicePOST request
- Added support for Image type of service in ServicePOST
@tazarov tazarov changed the title feat: Persistent disk support for Web Service Details feat: Persistent disk, Docker details post, EnvVars in ServicePOST and Image in ServicePOST Sep 29, 2023
@tazarov
Copy link
Author

tazarov commented Sep 29, 2023

@jackall3n before this can be merged, you need to merge - jackall3n/render-go#4

@jackall3n
Copy link
Owner

@jackall3n before this can be merged, you need to merge - jackall3n/render-go#4

merged


if err != nil {
resp.Diagnostics.AddError("failed to update service variables", err.Error())
resp.Diagnostics.AddError("failed to update service variables1", err.Error())
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
resp.Diagnostics.AddError("failed to update service variables1", err.Error())
resp.Diagnostics.AddError("failed to update service variables", err.Error())

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was this a mistake?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi! Is this the only blocking point for this PR?

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants