Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

Commit

Permalink
fix poor merge of upstream v2.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
psycofdj committed Jan 22, 2021
1 parent 40552dc commit 06c682d
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 26 deletions.
16 changes: 2 additions & 14 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ on:
- '!*'
# consider only release and pre-release tags
tags:
- 'v[0-9]+.[0-9]+.[0-9]+-ora'
- 'v[0-9]+.[0-9]+.[0-9]+-ora[0-9]+'
- 'v[0-9]+.[0-9]+.[0-9]+-ora-rc[0-9]+'
- 'v[0-9]+.[0-9]+.[0-9]+-ora[0-9]+-rc[0-9]+'

jobs:
Expand All @@ -32,20 +34,6 @@ jobs:
restore-keys: |
${{ runner.os }}-go-
- name: tests modules
run: |
go mod vendor
if [ ! -z "$(git status --porcelain)" ]; then
echo "::error::vendor directory if not synched with go.mod, please run go mod vendor"
exit 1
fi
go mod tidy
if [ ! -z "$(git status --porcelain)" ]; then
echo "::error::modules are not tidy, please run go mod tidy"
exit 1
fi
- name: tests
run: |
go test -v ./...
Expand Down
9 changes: 0 additions & 9 deletions cloudstack/cloudstack.go
Original file line number Diff line number Diff line change
Expand Up @@ -466,15 +466,6 @@ func getSortedKeysFromMap(m map[string]string) (keys []string) {
return keys
}

// getSortedKeysFromMap returns the keys from m in increasing order.
func getSortedKeysFromMap(m map[string]string) (keys []string) {
for k := range m {
keys = append(keys, k)
}
sort.Strings(keys)
return
}

// WithAsyncTimeout takes a custom timeout to be used by the CloudStackClient
func WithAsyncTimeout(timeout int64) ClientOption {
return func(cs *CloudStackClient) {
Expand Down
3 changes: 0 additions & 3 deletions go.mod

This file was deleted.

0 comments on commit 06c682d

Please sign in to comment.