You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
echo"${provider} API rejected ${token_name} with HTTP 401 for ${method}${path}; verify the GitHub secret is current and valid for this provider.">&2
182
+
return 22
183
+
;;
184
+
403)
185
+
echo"${provider} API rejected ${token_name} with HTTP 403 for ${method}${path}; verify the token has the permissions required by smoke cleanup and Terraform.">&2
186
+
return 22
187
+
;;
188
+
*)
189
+
echo"${provider} API returned HTTP ${http_code} for ${method}${path}.">&2
echo"linode API request failed for ${method}${path}; check LINODE_TOKEN and network access.">&2
138
+
return 1
139
+
fi
140
+
141
+
case"$http_code"in
142
+
2??)
143
+
printf'%s'"$body"
144
+
;;
145
+
401)
146
+
echo"linode API rejected LINODE_TOKEN with HTTP 401 for ${method}${path}; verify the GitHub secret is current and valid for Linode.">&2
147
+
return 22
148
+
;;
149
+
403)
150
+
echo"linode API rejected LINODE_TOKEN with HTTP 403 for ${method}${path}; verify the token has the permissions required by smoke cleanup and Terraform.">&2
151
+
return 22
152
+
;;
153
+
*)
154
+
echo"linode API returned HTTP ${http_code} for ${method}${path}.">&2
0 commit comments