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
e153a0d9
Commit
e153a0d9
authored
Mar 14, 2018
by
muhongwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Correct spelling
parent
0207a090
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
get-kubemark-resource-usage.go
test/e2e/framework/get-kubemark-resource-usage.go
+1
-1
No files found.
test/e2e/framework/get-kubemark-resource-usage.go
View file @
e153a0d9
...
@@ -39,7 +39,7 @@ func getMasterUsageByPrefix(prefix string) (string, error) {
...
@@ -39,7 +39,7 @@ func getMasterUsageByPrefix(prefix string) (string, error) {
// TODO: figure out how to move this to kubemark directory (need to factor test SSH out of e2e framework)
// TODO: figure out how to move this to kubemark directory (need to factor test SSH out of e2e framework)
func
GetKubemarkMasterComponentsResourceUsage
()
map
[
string
]
*
KubemarkResourceUsage
{
func
GetKubemarkMasterComponentsResourceUsage
()
map
[
string
]
*
KubemarkResourceUsage
{
result
:=
make
(
map
[
string
]
*
KubemarkResourceUsage
)
result
:=
make
(
map
[
string
]
*
KubemarkResourceUsage
)
// Get kuber
e
netes component resource usage
// Get kubernetes component resource usage
sshResult
,
err
:=
getMasterUsageByPrefix
(
"kube"
)
sshResult
,
err
:=
getMasterUsageByPrefix
(
"kube"
)
if
err
!=
nil
{
if
err
!=
nil
{
Logf
(
"Error when trying to SSH to master machine. Skipping probe. %v"
,
err
)
Logf
(
"Error when trying to SSH to master machine. Skipping probe. %v"
,
err
)
...
...
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