Verified Commit 460df185 authored by Xueshan Feng's avatar Xueshan Feng
Browse files

insert data previs if the api path is serect/.

parent 866b09b8
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -211,8 +211,8 @@ EOM
        ;;
      p)
        # specify an API endpoint, other than what is inferred from file location
        # e.g. sys/policy-generated applies to sys/policy
        local api_path="${OPTARG}"
        # e.g. sys/policy-generated applies to sys/policy. For KV 2, if secret/ path is used, inserat data prefix.
        local api_path=${OPTARG/secret\//secret\/data\/}
        ;;
      *)
        provision_usage