Skip to content

Commit

Permalink
[support] Add Yandex Serverless support
Browse files Browse the repository at this point in the history
  • Loading branch information
andyone committed Apr 22, 2024
1 parent 01c5d9e commit 6b832f2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

### 12.116.0

- `[support]` Added Yandex Serverless support
- `[system/container]` Added Yandex Serverless support

### 12.115.0
Expand Down
2 changes: 2 additions & 0 deletions support/support_nix.go
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,8 @@ func (i *Info) printOSInfo() {
format(12, true, "Container", "Yes (Podman)")
case "lxc":
format(12, true, "Container", "Yes (LXC)")
case "yandex":
format(12, true, "Container", "Yes (Yandex Serverless)")
}
}
}
Expand Down
2 changes: 2 additions & 0 deletions support/support_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,8 @@ func (s *SupportSuite) TestCollect(c *C) {
i.printOSInfo()
i.System.ContainerEngine = "lxc"
i.printOSInfo()
i.System.ContainerEngine = "yandex"
i.printOSInfo()
}

func (s *SupportSuite) TestNil(c *C) {
Expand Down

0 comments on commit 6b832f2

Please sign in to comment.