Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
2c8ec115
Commit
2c8ec115
authored
Jun 10, 2017
by
Cosmin Cojocar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix tests after rebasing
parent
5462d06c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
+8
-3
azure_test.go
pkg/cloudprovider/providers/azure/azure_test.go
+8
-3
No files found.
pkg/cloudprovider/providers/azure/azure_test.go
View file @
2c8ec115
...
@@ -608,15 +608,20 @@ func TestNewCloudFromJSON(t *testing.T) {
...
@@ -608,15 +608,20 @@ func TestNewCloudFromJSON(t *testing.T) {
// Test Backoff and Rate Limit defaults (json)
// Test Backoff and Rate Limit defaults (json)
func
TestCloudDefaultConfigFromJSON
(
t
*
testing
.
T
)
{
func
TestCloudDefaultConfigFromJSON
(
t
*
testing
.
T
)
{
config
:=
`{}`
config
:=
`{
"aadClientId": "--aad-client-id--",
"aadClientSecret": "--aad-client-secret--"
}`
validateEmptyConfig
(
t
,
config
)
validateEmptyConfig
(
t
,
config
)
}
}
// Test Backoff and Rate Limit defaults (yaml)
// Test Backoff and Rate Limit defaults (yaml)
func
TestCloudDefaultConfigFromYAML
(
t
*
testing
.
T
)
{
func
TestCloudDefaultConfigFromYAML
(
t
*
testing
.
T
)
{
config
:=
``
config
:=
`
aadClientId: --aad-client-id--
aadClientSecret: --aad-client-secret--
`
validateEmptyConfig
(
t
,
config
)
validateEmptyConfig
(
t
,
config
)
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment