File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ func (b *BootResources) Import() error {
48
48
// IsImporting returns importing status of boot resources importing to rack controllers
49
49
func (b * BootResources ) IsImporting () (bool , error ) {
50
50
isImporting := new (bool )
51
- err := b .client ().Get ("is-importing " , url.Values {}, func (data []byte ) error {
51
+ err := b .client ().Get ("is_importing " , url.Values {}, func (data []byte ) error {
52
52
return json .Unmarshal (data , isImporting )
53
53
})
54
54
@@ -57,7 +57,7 @@ func (b *BootResources) IsImporting() (bool, error) {
57
57
58
58
// StopImport stops importing boot resources to rack controllers
59
59
func (b * BootResources ) StopImport () error {
60
- return b .client ().Post ("stop-import " , url.Values {}, func (data []byte ) error {
60
+ return b .client ().Post ("stop_import " , url.Values {}, func (data []byte ) error {
61
61
return nil
62
62
})
63
63
}
You can’t perform that action at this time.
0 commit comments