cmd/tailscale/cli: [up] fix CreateKey missing argument (#8124)

Signed-off-by: Shayne Sweeney <shayne@tailscale.com>
pull/8129/head
shayne 1 year ago committed by GitHub
parent 9b6e48658f
commit 678bb92bb8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1198,7 +1198,8 @@ func resolveAuthKey(ctx context.Context, v, tags string) (string, error) {
},
}
authkey, _, err := tsClient.CreateKey(ctx, caps)
const defaultExpiry = 0
authkey, _, err := tsClient.CreateKey(ctx, caps, defaultExpiry)
if err != nil {
return "", err
}

Loading…
Cancel
Save