File tree Expand file tree Collapse file tree 2 files changed +6
-7
lines changed Expand file tree Collapse file tree 2 files changed +6
-7
lines changed Original file line number Diff line number Diff line change 1
- graphkb :
2
- url : " http://localhost:8080"
3
- auth_token : " importer-csv"
4
- skip_verify : true
1
+ graphkb_url : " http://localhost:8080"
2
+ graphkb_auth_token : " importer-csv"
3
+ graphkb_skip_verify : true
5
4
6
5
path : " example.csv"
Original file line number Diff line number Diff line change @@ -100,9 +100,9 @@ func main() {
100
100
Run : func (cmd * cobra.Command , args []string ) {
101
101
102
102
options := graphkb.ImporterOptions {
103
- URL : viper .GetString ("graphkb.url " ),
104
- AuthToken : viper .GetString ("graphkb.auth_token " ),
105
- SkipVerify : viper .GetBool ("graphkb.skip_verify " ),
103
+ URL : viper .GetString ("graphkb_url " ),
104
+ AuthToken : viper .GetString ("graphkb_auth_token " ),
105
+ SkipVerify : viper .GetBool ("graphkb_skip_verify " ),
106
106
}
107
107
108
108
if err := graphkb .Start (NewCSVSource (), options ); err != nil {
You can’t perform that action at this time.
0 commit comments