digitalocean / digitalocean/doctl

functions: runtime of go:1.20 ignored

Open
#1,637 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Go
Stars
3.4k
Forks
496
Avg merge
1d 2h
Merged PRs (30d)
31

Description

**Describe the Issue:**

Can't create Digital Ocean Go Function with `go:1.20` instead I get `go:1.17`.

```yaml
packages:
- name: webhooks
functions:
- name: notifier2
runtime: go:1.20
web: false
```

```
doctl serverless deploy packages/webhooks
```

```
Deploying '/Users/kyle.davies/Desktop/DigitalOcean-Function-Discord-Webhook/packages/webhooks'
to namespace 'fn-141fc203-4469-40e6-9931-7291b69433b9'
on host 'https://faas-ams3-2a2df116.doserverless.co'
Nothing deployed
```

I also can't understand why it states `Nothing Deployed` but creates the function anyway?

Screenshot 2025-01-11 at 16 16 34

**Environment:**

- doctl version: doctl version 1.120.1-release
- OS: Apple MacOS 15.0 (24A335)
- Installation method: homebrew

**Additional Details:**

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.