mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-22 22:30:23 +00:00
Fix flag provided but not defined issue
in go 1.13 we are facing above issue, This commit fixs by calling testing.Init() Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
This commit is contained in:
parent
d5a0606c33
commit
cb08a63a02
@ -57,5 +57,6 @@ func handleFlags() {
|
|||||||
config.CopyFlags(config.Flags, flag.CommandLine)
|
config.CopyFlags(config.Flags, flag.CommandLine)
|
||||||
framework.RegisterCommonFlags(flag.CommandLine)
|
framework.RegisterCommonFlags(flag.CommandLine)
|
||||||
framework.RegisterClusterFlags(flag.CommandLine)
|
framework.RegisterClusterFlags(flag.CommandLine)
|
||||||
|
testing.Init()
|
||||||
flag.Parse()
|
flag.Parse()
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user