commit | 6080c17a69a8965a1754977ab93759b2936c6e21 | [log] [tgz] |
---|---|---|
author | David K. Bainbridge <dbainbri@ciena.com> | Sat Jul 24 00:22:28 2021 +0000 |
committer | David K. Bainbridge <dbainbri@ciena.com> | Sun Aug 08 10:24:35 2021 -0400 |
tree | eaadab1bfa018bac4938386d98511a707acd220d | |
parent | 2195cccf41c5e1b08d8e513a32de3c0994d34c9b [diff] [blame] |
VOL-4284 simplify command line arg specification Change-Id: Icc96dbf8ef1c06a4976c54fa53ce79f55f715e6a
diff --git a/rw_core/main.go b/rw_core/main.go index 281756d..9cc1bdc 100644 --- a/rw_core/main.go +++ b/rw_core/main.go
@@ -74,8 +74,8 @@ ctx := context.Background() - cf := config.NewRWCoreFlags() - cf.ParseCommandArguments() + cf := &config.RWCoreFlags{} + cf.ParseCommandArguments(os.Args[1:]) // Set the instance ID as the hostname var instanceID string