Minor patch to change-role
This commit is contained in:
parent
db72609650
commit
d95305f95d
@ -20,6 +20,12 @@ func init() {
|
|||||||
func main() {
|
func main() {
|
||||||
defer arn.Node.Close()
|
defer arn.Node.Close()
|
||||||
|
|
||||||
|
// Show usage if needed
|
||||||
|
if userID == "" || role == "" {
|
||||||
|
flag.Usage()
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
// Get user
|
// Get user
|
||||||
user, err := arn.GetUser(userID)
|
user, err := arn.GetUser(userID)
|
||||||
arn.PanicOnError(err)
|
arn.PanicOnError(err)
|
||||||
|
Loading…
Reference in New Issue
Block a user