Skip to content

Commit e3a17fd

Browse files
point --source-config to proper attribute (#282)
1 parent a9548d5 commit e3a17fd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pkg/ctl/sources/create.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ func createSourcesCmd(vc *cmdutils.VerbCmd) {
230230
"The disk (in bytes) that need to be allocated per source instance (applicable only to Docker runtime)")
231231

232232
flagSet.StringVar(
233-
&sourceData.SourceConfigFile,
233+
&sourceData.SourceConfigString,
234234
"source-config",
235235
"",
236236
"Source config key/values")

pkg/ctl/sources/update.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ func updateSourcesCmd(vc *cmdutils.VerbCmd) {
205205
"The disk (in bytes) that need to be allocated per source instance (applicable only to Docker runtime)")
206206

207207
flagSet.StringVar(
208-
&sourceData.SourceConfigFile,
208+
&sourceData.SourceConfigString,
209209
"source-config",
210210
"",
211211
"Source config key/values")

0 commit comments

Comments
 (0)