Repository navigation
Conversation
Droplet samples referenced the retired 1gb size and ubuntu-16-04/20-04 images and the deprecated enable_private_networking action. The apps update sample omitted the spec wrapper and the log samples omitted the required type parameter.
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes code samples and app spec schema errors that make examples on docs.digitalocean.com fail when copied or validated. Each change was checked against godo's generated app spec types.
Code samples
1gbwiths-2vcpu-4gband imagesubuntu-16-04-x64andubuntu-20-04-x64withubuntu-26-04-x64. Remove theenable_private_networkingaction from the curl and Ruby action samples.{"spec": ...}, as the endpoint requires.typequery parameter.App spec schema
envs,alertsandfeaturestoapp_spec,alertsto services, workers and jobs, and theSCHEDULEDjob kind with itsscheduleobject.token, notendpoint, which the schema never defined.preserve_path_prefixon ingress rules is a boolean, as it already is on routes.No endpoints added or removed.
make lint: 0 errors, 8 existing warnings. With these changes, every app spec example in the docs validates.