feature: s3gateway

This commit is contained in:
Qiu Jian
2019-06-29 16:49:54 +08:00
parent 79a824e6dc
commit 870813f04b
188 changed files with 42409 additions and 98 deletions

View File

@@ -18,7 +18,6 @@ import (
"fmt"
"os"
"yunion.io/x/log"
"yunion.io/x/structarg"
"yunion.io/x/onecloud/pkg/util/openstack"
@@ -76,7 +75,8 @@ func getSubcommandParser() (*structarg.ArgumentParser, error) {
}
func showErrorAndExit(e error) {
log.Errorf("%s", e)
fmt.Fprintf(os.Stderr, "%s", e)
fmt.Fprintln(os.Stderr)
os.Exit(1)
}