Skip to content

Commit

Permalink
chore: bump sdk (#1963)
Browse files Browse the repository at this point in the history
* chore: bump sdk

* Fix

* FIx

Co-authored-by: scaleway-bot <[email protected]>
  • Loading branch information
remyleone and scaleway-bot authored Sep 16, 2021
1 parent c505d9d commit 223820b
Show file tree
Hide file tree
Showing 22 changed files with 2,262 additions and 3,518 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ jobs:
uses: golangci/golangci-lint-action@v2
with:
# Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version.
version: v1.32.2
version: v1.42.1
2 changes: 1 addition & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ linters:
- errcheck
- goconst
- goimports
- golint
- goprintffuncname
- gosec
- gosimple
Expand All @@ -25,6 +24,7 @@ linters:
- misspell
- nakedret
- nolintlint
- revive
- rowserrcheck
- staticcheck
- structcheck
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ require (
github.com/kubernetes-client/go-base v0.0.0-20190205182333-3d0e39759d98
github.com/mattn/go-colorable v0.1.8
github.com/mattn/go-isatty v0.0.13
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.7.0.20210707121459-c4899e298c98
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.7.0.20210915130531-0285df8effc0
github.com/sergi/go-diff v1.1.0 // indirect
github.com/spf13/cobra v1.2.1
github.com/spf13/pflag v1.0.5
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -241,8 +241,8 @@ github.com/rogpeppe/fastuuid v1.2.0/go.mod h1:jVj6XXZzXRy/MSR5jhDC/2q6DgLz+nrA6L
github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4=
github.com/russross/blackfriday/v2 v2.0.1/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f/go.mod h1:sm1tb6uqfes/u+d4ooFouqFdy9/2g9QGwK3SQygK0Ts=
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.7.0.20210707121459-c4899e298c98 h1:2VLw+nHp0U3R1VQApoDRUY45f+o4Knu9CMk/0hgSy+k=
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.7.0.20210707121459-c4899e298c98/go.mod h1:CJJ5VAbozOl0yEw7nHB9+7BXTJbIn6h7W+f6Gau5IP8=
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.7.0.20210915130531-0285df8effc0 h1:rjfzAgwrQV3eZqOfC9K84vd08SAsIqpFR4twmgF6+uc=
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.7.0.20210915130531-0285df8effc0/go.mod h1:CJJ5VAbozOl0yEw7nHB9+7BXTJbIn6h7W+f6Gau5IP8=
github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529/go.mod h1:DxrIzT+xaE7yg65j358z/aeFdxmN0P9QXhEzd20vsDc=
github.com/sergi/go-diff v1.1.0 h1:we8PVUC3FE2uYfodKH/nBHMSetSfHDR6scGdBi+erh0=
github.com/sergi/go-diff v1.1.0/go.mod h1:STckp+ISIX8hZLjrqAeVduY0gWCT9IjLuqbuNXdaHfM=
Expand Down
3 changes: 2 additions & 1 deletion internal/gotty/resize.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//nolint
// +build !windows

package gotty
Expand All @@ -9,7 +10,7 @@ import (
)

func subscribeToResize(resizeChan chan bool) func() {
sigChan := make(chan os.Signal)
sigChan := make(chan os.Signal, 1)

go func() {
for {
Expand Down

Large diffs are not rendered by default.

18 changes: 10 additions & 8 deletions internal/namespaces/k8s/v1/testdata/test-get-cluster-simple.golden
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
🟩🟩🟩 STDOUT️ 🟩🟩🟩️
ID 5e04d093-20e1-4d2b-9a6d-3d7a15016dbf
ID 6e68d924-956f-4511-bfdb-1a796a190d33
Type kapsule
Name cli-test
Status creating
Version 1.17.3
Expand All @@ -9,8 +10,8 @@ OrganizationID 951df375-e094-4d26-97c1-ba548eeb9c42
ProjectID 951df375-e094-4d26-97c1-ba548eeb9c42
Cni cilium
Description -
ClusterURL https://5e04d093-20e1-4d2b-9a6d-3d7a15016dbf.api.k8s.fr-par.scw.cloud:6443
DNSWildcard *.5e04d093-20e1-4d2b-9a6d-3d7a15016dbf.nodes.k8s.fr-par.scw.cloud
ClusterURL https://6e68d924-956f-4511-bfdb-1a796a190d33.api.k8s.fr-par.scw.cloud:6443
DNSWildcard *.6e68d924-956f-4511-bfdb-1a796a190d33.nodes.k8s.fr-par.scw.cloud
CreatedAt few seconds ago
UpdatedAt few seconds ago
DashboardEnabled false
Expand Down Expand Up @@ -43,10 +44,11 @@ GroupsPrefix -

Pools:
ID NAME STATUS VERSION NODE TYPE MIN SIZE SIZE MAX SIZE AUTOSCALING AUTOHEALING
22c9b049-abde-4ef1-8a4a-833cc65a856b default scaling 1.17.3 dev1_m 0 1 1 false false
42b228cf-ad4b-458e-b69b-046f8aa3c10c default scaling 1.17.3 dev1_m 0 1 1 false false
🟩🟩🟩 JSON STDOUT 🟩🟩🟩
{
"id": "5e04d093-20e1-4d2b-9a6d-3d7a15016dbf",
"id": "6e68d924-956f-4511-bfdb-1a796a190d33",
"type": "kapsule",
"name": "cli-test",
"status": "creating",
"version": "1.17.3",
Expand All @@ -56,8 +58,8 @@ ID NAME STATUS VERSION NODE TYPE MIN
"tags": [],
"cni": "cilium",
"description": "",
"cluster_url": "https://5e04d093-20e1-4d2b-9a6d-3d7a15016dbf.api.k8s.fr-par.scw.cloud:6443",
"dns_wildcard": "*.5e04d093-20e1-4d2b-9a6d-3d7a15016dbf.nodes.k8s.fr-par.scw.cloud",
"cluster_url": "https://6e68d924-956f-4511-bfdb-1a796a190d33.api.k8s.fr-par.scw.cloud:6443",
"dns_wildcard": "*.6e68d924-956f-4511-bfdb-1a796a190d33.nodes.k8s.fr-par.scw.cloud",
"created_at": "1970-01-01T00:00:00.0Z",
"updated_at": "1970-01-01T00:00:00.0Z",
"autoscaler_config": {
Expand Down Expand Up @@ -96,7 +98,7 @@ ID NAME STATUS VERSION NODE TYPE MIN
"apiserver_cert_sans": [],
"pools": [
{
"id": "22c9b049-abde-4ef1-8a4a-833cc65a856b",
"id": "42b228cf-ad4b-458e-b69b-046f8aa3c10c",
"name": "default",
"status": "scaling",
"version": "1.17.3",
Expand Down
Loading

0 comments on commit 223820b

Please sign in to comment.