Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
H
helm3
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
helm3
Commits
7492ad7f
Commit
7492ad7f
authored
Feb 23, 2016
by
Adam Reese
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(create): do not use full path for chart name
parent
117679c1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
create.go
cmd/helm/create.go
+5
-2
No files found.
cmd/helm/create.go
View file @
7492ad7f
...
...
@@ -2,6 +2,7 @@ package main
import
(
"errors"
"path/filepath"
"github.com/codegangsta/cli"
"github.com/kubernetes/deployment-manager/chart"
...
...
@@ -25,12 +26,14 @@ func create(c *cli.Context) error {
return
errors
.
New
(
"'helm create' requires a chart name as an argument"
)
}
dir
,
name
:=
filepath
.
Split
(
args
[
0
])
cf
:=
&
chart
.
Chartfile
{
Name
:
args
[
0
]
,
Name
:
name
,
Description
:
"Created by Helm"
,
Version
:
"0.1.0"
,
}
_
,
err
:=
chart
.
Create
(
cf
,
"."
)
_
,
err
:=
chart
.
Create
(
cf
,
dir
)
return
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