From 61810424f7e0c8af6d1c338688582f3a4ed896f4 Mon Sep 17 00:00:00 2001 From: baijiaruo Date: Wed, 9 Aug 2023 15:37:11 +0800 Subject: [PATCH] fix(scripts): fix shell script Pinned-Dependencies problem Signed-off-by: baijiaruo --- cmd/master/scripts/manage_cluster_get.sh | 2 +- cmd/master/scripts/manage_cluster_stat.sh | 2 +- cmd/master/scripts/manage_dn_get.sh | 2 +- cmd/master/scripts/manage_dp_get.sh | 2 +- cmd/master/scripts/manage_mn_get.sh | 2 +- cmd/master/scripts/manage_mp_get.sh | 2 +- cmd/master/scripts/manage_mp_load.sh | 2 +- cmd/master/scripts/manage_vol_admin_get.sh | 2 +- cmd/master/scripts/manage_vol_get.sh | 2 +- cmd/master/scripts/manage_zone_list.sh | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) diff --git a/cmd/master/scripts/manage_cluster_get.sh b/cmd/master/scripts/manage_cluster_get.sh index b19a98fd6..df729ebb0 100644 --- a/cmd/master/scripts/manage_cluster_get.sh +++ b/cmd/master/scripts/manage_cluster_get.sh @@ -1,2 +1,2 @@ #!/bin/bash -curl -v "http://127.0.0.1/admin/getCluster" | python -m json.tool \ No newline at end of file +curl -v "http://127.0.0.1/admin/getCluster" \ No newline at end of file diff --git a/cmd/master/scripts/manage_cluster_stat.sh b/cmd/master/scripts/manage_cluster_stat.sh index eb84854c8..6d9126c31 100644 --- a/cmd/master/scripts/manage_cluster_stat.sh +++ b/cmd/master/scripts/manage_cluster_stat.sh @@ -1,2 +1,2 @@ #!/bin/bash -curl -v "http://127.0.0.1/cluster/stat" | python -m json.tool \ No newline at end of file +curl -v "http://127.0.0.1/cluster/stat" \ No newline at end of file diff --git a/cmd/master/scripts/manage_dn_get.sh b/cmd/master/scripts/manage_dn_get.sh index c3e3d6652..c0c12b3a6 100644 --- a/cmd/master/scripts/manage_dn_get.sh +++ b/cmd/master/scripts/manage_dn_get.sh @@ -1,2 +1,2 @@ #!/bin/bash -curl -v "http://127.0.0.1/dataNode/get?addr=127.0.0.1:5000" | python -m json.tool \ No newline at end of file +curl -v "http://127.0.0.1/dataNode/get?addr=127.0.0.1:5000" \ No newline at end of file diff --git a/cmd/master/scripts/manage_dp_get.sh b/cmd/master/scripts/manage_dp_get.sh index cf44d1e45..f90106853 100644 --- a/cmd/master/scripts/manage_dp_get.sh +++ b/cmd/master/scripts/manage_dp_get.sh @@ -1,2 +1,2 @@ #!/bin/bash -curl -v "http://127.0.0.1/dataPartition/get?id=100" | python -m json.tool \ No newline at end of file +curl -v "http://127.0.0.1/dataPartition/get?id=100" \ No newline at end of file diff --git a/cmd/master/scripts/manage_mn_get.sh b/cmd/master/scripts/manage_mn_get.sh index e3feebc58..6d85431d6 100644 --- a/cmd/master/scripts/manage_mn_get.sh +++ b/cmd/master/scripts/manage_mn_get.sh @@ -1,2 +1,2 @@ #!/bin/bash -curl -v "http://127.0.0.1/metaNode/get?addr=127.0.0.1:9021" | python -m json.tool \ No newline at end of file +curl -v "http://127.0.0.1/metaNode/get?addr=127.0.0.1:9021" \ No newline at end of file diff --git a/cmd/master/scripts/manage_mp_get.sh b/cmd/master/scripts/manage_mp_get.sh index 397feb048..5206f590a 100644 --- a/cmd/master/scripts/manage_mp_get.sh +++ b/cmd/master/scripts/manage_mp_get.sh @@ -1,2 +1,2 @@ #!/bin/bash -curl -v "http://127.0.0.1/client/metaPartition?id=1" | python -m json.tool \ No newline at end of file +curl -v "http://127.0.0.1/client/metaPartition?id=1" \ No newline at end of file diff --git a/cmd/master/scripts/manage_mp_load.sh b/cmd/master/scripts/manage_mp_load.sh index 0aae2cd8c..1e61b2959 100644 --- a/cmd/master/scripts/manage_mp_load.sh +++ b/cmd/master/scripts/manage_mp_load.sh @@ -1,2 +1,2 @@ #!/bin/bash -curl -v "http://127.0.0.1/metaPartition/load?id=1" | python -m json.tool \ No newline at end of file +curl -v "http://127.0.0.1/metaPartition/load?id=1" \ No newline at end of file diff --git a/cmd/master/scripts/manage_vol_admin_get.sh b/cmd/master/scripts/manage_vol_admin_get.sh index aee84134b..d47ad7b95 100644 --- a/cmd/master/scripts/manage_vol_admin_get.sh +++ b/cmd/master/scripts/manage_vol_admin_get.sh @@ -1,2 +1,2 @@ #!/bin/bash -curl -v "http://127.0.0.1/admin/getVol?name=test" | python -m json.tool \ No newline at end of file +curl -v "http://127.0.0.1/admin/getVol?name=test" \ No newline at end of file diff --git a/cmd/master/scripts/manage_vol_get.sh b/cmd/master/scripts/manage_vol_get.sh index e19cb6691..470ef0d49 100644 --- a/cmd/master/scripts/manage_vol_get.sh +++ b/cmd/master/scripts/manage_vol_get.sh @@ -1,2 +1,2 @@ #!/bin/bash -curl -v "http://127.0.0.1/client/vol?name=test&authKey=md5(owner)" | python -m json.tool \ No newline at end of file +curl -v "http://127.0.0.1/client/vol?name=test&authKey=md5(owner)" \ No newline at end of file diff --git a/cmd/master/scripts/manage_zone_list.sh b/cmd/master/scripts/manage_zone_list.sh index 31c1d13c5..cba133f8f 100644 --- a/cmd/master/scripts/manage_zone_list.sh +++ b/cmd/master/scripts/manage_zone_list.sh @@ -1,2 +1,2 @@ #!/bin/bash -curl -v "http://127.0.0.1/zone/list" | python -m json.tool \ No newline at end of file +curl -v "http://127.0.0.1/zone/list" \ No newline at end of file