当我在计算实例运行命令相同的味道是否能够正常工作gcloud过滤器的正则表达式不一致
gcloud compute instances list --filter='name~mysql'
然而,当我跑这个命令
gcloud dataproc clusters list --filter='clusterName ~ dev'
我得到这个错误
ERROR: (gcloud.dataproc.clusters.list) INVALID_ARGUMENT: Could not parse the filter: ParserException:errors {
line: 1
column: 13
message: "syntax error"
token: "~"
}
任何想法为什么过滤器的行为是这样吗?
谢谢。我已经提交了一个错误#37658729。现在,我将使用grep解决这个问题。 –