"strings"
"git.curoverse.com/arvados.git/sdk/go/arvados"
- arvadosVersion "git.curoverse.com/arvados.git/sdk/go/version"
)
+var version = "dev"
+
type resourceList interface {
Len() int
GetItems() []interface{}
// Print version information if requested
if *getVersion {
- fmt.Printf("Version: %s\n", arvadosVersion.GetVersion())
+ fmt.Printf("Version: %s\n", version)
os.Exit(0)
}
}
defer f.Close()
- log.Printf("arv-sync-groups %q started. Using %q as users id and parent group UUID %q", arvadosVersion.GetVersion(), cfg.UserID, cfg.ParentGroupUUID)
+ log.Printf("arv-sync-groups %q started. Using %q as users id and parent group UUID %q", version, cfg.UserID, cfg.ParentGroupUUID)
// Get the complete user list to minimize API Server requests
allUsers := make(map[string]arvados.User)