Skip to content

Commit

Permalink
fix: new string script content func
Browse files Browse the repository at this point in the history
  • Loading branch information
exu committed Feb 3, 2022
1 parent 7ff680a commit 97eb4f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/api/v1/testkube/model_script_content_extended.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ var ErrScriptContentTypeNotDir = fmt.Errorf("unsupported content type use one of

func NewStringScriptContent(str string) *ScriptContent {
return &ScriptContent{
Type_: string(ScriptContentTypeGitFile),
Type_: string(ScriptContentTypeString),
Data: str,
}
}
Expand Down

0 comments on commit 97eb4f7

Please sign in to comment.