Skip to content

Commit 8f8789e

Browse files
authored
Merge pull request #88 from jeremyary/release-0.1.4
Cherry-pick for release branch: Fix race condition
2 parents f01293b + a5f523c commit 8f8789e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/providerAccountForm.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ class ProviderAccountForm extends React.Component {
191191
body: JSON.stringify(newSecret),
192192
}
193193

194-
fetch('api/kubernetes/api/v1/namespaces/' + this.state.currentNS + '/secrets', postSecretRequestOpts)
194+
await fetch('api/kubernetes/api/v1/namespaces/' + this.state.currentNS + '/secrets', postSecretRequestOpts)
195195
.then((response) => response.json())
196196
.then((data) => {
197197
this.setState({ postResponse: data })

0 commit comments

Comments
 (0)