Skip to content

Commit 8b10cc2

Browse files
committed
Fix
1 parent f3f4f5a commit 8b10cc2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

internal/namespaces/applesilicon/v1alpha1/custom_server_ssh.go

+4-4
Original file line numberDiff line numberDiff line change
@@ -50,16 +50,16 @@ func serverSSHCommand() *core.Command {
5050
},
5151
core.ZoneArgSpec(),
5252
},
53-
Run: instanceServerSSHRun,
53+
Run: serverSSHRun,
5454
}
5555
}
5656

57-
func instanceServerSSHRun(ctx context.Context, argsI interface{}) (i interface{}, e error) {
57+
func serverSSHRun(ctx context.Context, argsI interface{}) (i interface{}, e error) {
5858
args := argsI.(*serverSSHConnectRequest)
5959

6060
client := core.ExtractClient(ctx)
61-
apiInstance := applesilicon.NewAPI(client)
62-
serverResp, err := apiInstance.GetServer(&applesilicon.GetServerRequest{
61+
asAPI := applesilicon.NewAPI(client)
62+
serverResp, err := asAPI.GetServer(&applesilicon.GetServerRequest{
6363
Zone: args.Zone,
6464
ServerID: args.ServerID,
6565
})

0 commit comments

Comments
 (0)