Attachment '0003-arch-field-renamed-to-archId-to-maintain-naming-cons.patch'
Download 1 From 24bb37e5cbd8699857cc88dbdad263b2afcb4b01 Mon Sep 17 00:00:00 2001
2 From: rudygodoy <rudygodoy@10.20.30.29>
3 Date: Thu, 4 Aug 2011 01:03:03 -0500
4 Subject: [PATCH 3/3] arch field renamed to archId to maintain naming consistency.
5
6 ---
7 util/data.c | 2 +-
8 util/data.h | 4 ++--
9 2 files changed, 3 insertions(+), 3 deletions(-)
10
11 diff --git a/util/data.c b/util/data.c
12 index 6e9153e..2a6aa7d 100644
13 --- a/util/data.c
14 +++ b/util/data.c
15 @@ -118,7 +118,7 @@ ncInstance * allocate_instance (char *instanceId, char *reservationId,
16 char *ramdiskId, char *ramdiskURL,
17 char *stateName, int stateCode, char *userId,
18 netConfig *ncnet, char *keyName,
19 - char *userData, char *launchIndex, char **groupNames, int groupNamesSize, char *arch)
20 + char *userData, char *launchIndex, char **groupNames, int groupNamesSize, char *archId)
21 {
22 ncInstance * inst;
23
24 diff --git a/util/data.h b/util/data.h
25 index 87d2a6d..2ace4ca 100644
26 --- a/util/data.h
27 +++ b/util/data.h
28 @@ -109,7 +109,7 @@ typedef struct ncInstance_t {
29 char ramdiskURL[CHAR_BUFFER_SIZE];
30 char reservationId[CHAR_BUFFER_SIZE];
31 char userId[CHAR_BUFFER_SIZE];
32 - char arch[CHAR_BUFFER_SIZE];
33 + char archId[CHAR_BUFFER_SIZE];
34 int retries;
35
36 /* state as reported to CC & CLC */
37 @@ -182,7 +182,7 @@ ncInstance * allocate_instance(char *instanceId, char *reservationId,
38 char *ramdiskId, char *ramdiskURL,
39 char *stateName, int stateCode, char *userId,
40 netConfig *ncnet, char *keyName,
41 - char *userData, char *launchIndex, char **groupNames, int groupNamesSize);
42 + char *userData, char *launchIndex, char **groupNames, int groupNamesSize, char *archId);
43 void free_instance (ncInstance ** inst);
44
45 ncResource * allocate_resource(char *nodeStatus,
46 --
47 1.7.3.5
Attached Files
To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.You are not allowed to attach a file to this page.
